Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.00182, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 52.34 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 49.43 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006146/0.1489, allocations: 4.088 MB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1513, allocations: 0.88 MB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.1516, allocations: 8 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.1519, allocations: 91.08 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.1524, allocations: 182.4 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1528, allocations: 135.8 kB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006951/0.1535, allocations: 0.6655 MB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.1539, allocations: 211 kB / 357.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.1542, allocations: 255 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.1546, allocations: 294.7 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.1547, allocations: 56 kB / 358.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.902e-05/0.1548, allocations: 56 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.155, allocations: 131.5 kB / 358.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1552, allocations: 298.5 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.1559, allocations: 0.6461 MB / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1559, allocations: 0 / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1559, allocations: 0 / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.156, allocations: 0 / 359.4 MB, free: 11.7 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001589/0.1575, allocations: 0.8611 MB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1576, allocations: 15.89 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.1578, allocations: 64.28 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.1584, allocations: 375.6 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.1585, allocations: 37.38 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.518e-05/0.1586, allocations: 52.28 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.1594, allocations: 479.5 kB / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1594, allocations: 7.938 kB / 361.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.1594, allocations: 24 kB / 361.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1595, allocations: 12 kB / 361.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.1601, allocations: 328.3 kB / 361.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.1628, allocations: 1.67 MB / 363.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.1633, allocations: 265.1 kB / 363.6 MB, free: 7.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.1635, allocations: 144.4 kB / 363.7 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1635, allocations: 7.984 kB / 363.8 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1636, allocations: 46.5 kB / 363.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.1636, allocations: 3.938 kB / 363.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001882/0.1655, allocations: 0.9416 MB / 364.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1656, allocations: 89.05 kB / 364.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.1661, allocations: 381.6 kB / 365.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1661, allocations: 29.7 kB / 365.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1663, allocations: 291.4 kB / 365.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.1664, allocations: 110.4 kB / 365.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1666, allocations: 78.03 kB / 365.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1667, allocations: 354.7 kB / 366 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.1669, allocations: 100.8 kB / 366.1 MB, free: 4.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.1672, allocations: 198.6 kB / 366.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.1677, allocations: 308.3 kB / 366.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1677, allocations: 0 / 366.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008043/0.1685, allocations: 449.2 kB / 367.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1686, allocations: 8 kB / 367.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1686, allocations: 0 / 367.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004062/0.169, allocations: 81.97 kB / 367.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1693, allocations: 83.88 kB / 367.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.1725, allocations: 3.119 MB / 370.4 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.1728, allocations: 20.06 kB / 370.4 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.1729, allocations: 19.98 kB / 370.4 MB, free: 4 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2529/0.4257, allocations: 167.9 kB / 370.6 MB, free: 24.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.426, allocations: 41.97 kB / 370.6 MB, free: 24.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.4261, allocations: 42.73 kB / 370.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4261, allocations: 4.281 kB / 370.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.4261, allocations: 5.719 kB / 370.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4261, allocations: 2.188 kB / 370.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4282, allocations: 0.9323 MB / 371.6 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4282, allocations: 1.125 kB / 371.6 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.4284, allocations: 47.78 kB / 371.6 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.4288, allocations: 80.69 kB / 371.7 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4289, allocations: 7.047 kB / 371.7 MB, free: 24.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.4318, allocations: 3.131 MB / 374.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.4318, allocations: 5.312 kB / 374.9 MB, free: 21.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.4331, allocations: 0.6166 MB / 375.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.4332, allocations: 118.5 kB / 375.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.4333, allocations: 10.12 kB / 375.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.4336, allocations: 29.53 kB / 375.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4338, allocations: 26.41 kB / 375.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4338, allocations: 12.28 kB / 375.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003931/0.4342, allocations: 271.5 kB / 375.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4342, allocations: 2.125 kB / 375.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007953/0.435, allocations: 119.5 kB / 376.1 MB, free: 21.13 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.4353, allocations: 105.1 kB / 376.2 MB, free: 21.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.4365, allocations: 0.5145 MB / 376.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4365, allocations: 1.125 kB / 376.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.4371, allocations: 382.6 kB / 377.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.4377, allocations: 66.28 kB / 377.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.4396, allocations: 0.9563 MB / 378.1 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.44, allocations: 0.8367 MB / 378.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.4402, allocations: 42.59 kB / 379 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.4403, allocations: 30.23 kB / 379 MB, free: 19.18 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4403, allocations: 0 / 379 MB, free: 19.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01472/0.455, allocations: 4.676 MB / 383.7 MB, free: 18.83 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches