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.002064/0.002064, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.002114/0.002113, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.625/1.625, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.0009793, allocations: 51.8 kB / 300.6 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1176, allocations: 49.45 MB / 350 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00602/0.1236, allocations: 4.085 MB / 354.1 MB, free: 332 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1256, allocations: 0.8761 MB / 355 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.1261, allocations: 8 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1264, allocations: 91.08 kB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.1269, allocations: 178.4 kB / 355.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1273, allocations: 147.7 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.1279, allocations: 0.6577 MB / 356.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.1282, allocations: 211 kB / 356.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.1284, allocations: 259 kB / 356.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.1288, allocations: 294.7 kB / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.1288, allocations: 56 kB / 356.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.1289, allocations: 56 kB / 356.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.129, allocations: 127.5 kB / 357.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.1293, allocations: 302.5 kB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.1298, allocations: 0.6346 MB / 358 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1298, allocations: 0 / 358 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1299, allocations: 4 kB / 358 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1299, allocations: 3.938 kB / 358 MB, free: 12.43 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.001313/0.1312, allocations: 0.8597 MB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1312, allocations: 19.89 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.625e-05/0.1313, allocations: 60.28 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1318, allocations: 363.7 kB / 359.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1318, allocations: 41.38 kB / 359.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.1319, allocations: 52.28 kB / 359.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.1326, allocations: 487.5 kB / 359.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1326, allocations: 0 / 359.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.1327, allocations: 27.98 kB / 359.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1327, allocations: 12 kB / 359.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.1333, allocations: 328.3 kB / 360.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.136, allocations: 1.689 MB / 361.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.1365, allocations: 269.1 kB / 362.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1367, allocations: 145.6 kB / 362.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1367, allocations: 4 kB / 362.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1368, allocations: 34.81 kB / 362.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.1368, allocations: 4 kB / 362.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001763/0.1386, allocations: 0.9493 MB / 363.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1386, allocations: 92.98 kB / 363.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.139, allocations: 381.6 kB / 363.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.139, allocations: 33.7 kB / 363.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1392, allocations: 287.4 kB / 364.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.1393, allocations: 118.4 kB / 364.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1394, allocations: 78.03 kB / 364.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1396, allocations: 350.7 kB / 364.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1398, allocations: 100.8 kB / 364.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.14, allocations: 194.6 kB / 364.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.1405, allocations: 314.1 kB / 365.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1405, allocations: 0 / 365.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007541/0.1413, allocations: 448 kB / 365.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1413, allocations: 4 kB / 365.7 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1413, allocations: 4 kB / 365.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.1416, allocations: 81.81 kB / 365.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1419, allocations: 79.89 kB / 365.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.1443, allocations: 3.127 MB / 368.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.1446, allocations: 12 kB / 369 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1446, allocations: 16 kB / 369 MB, free: 0.7266 MB / 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.0002189/0.1448, allocations: 165.7 kB / 369.1 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.069e-05/0.1449, allocations: 47.45 kB / 369.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.145, allocations: 55.52 kB / 369.2 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.145, allocations: 0 / 369.2 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.145, allocations: 7.938 kB / 369.2 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.145, allocations: 0 / 369.2 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3239/0.469, allocations: 0.9328 MB / 370.2 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.469, allocations: 1.375 kB / 370.2 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.4694, allocations: 44.16 kB / 370.2 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/0.47, allocations: 79.38 kB / 370.3 MB, free: 24.78 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.47, allocations: 8.719 kB / 370.3 MB, free: 24.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.4736, allocations: 3.128 MB / 373.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4736, allocations: 1.953 kB / 373.4 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.4749, allocations: 0.6139 MB / 374 MB, free: 21.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.4751, allocations: 119.4 kB / 374.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4752, allocations: 11.36 kB / 374.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.4757, allocations: 35.03 kB / 374.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4758, allocations: 22.53 kB / 374.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.4759, allocations: 12.72 kB / 374.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.4763, allocations: 271.7 kB / 374.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4763, allocations: 3.938 kB / 374.5 MB, free: 21.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009415/0.4773, allocations: 118.9 kB / 374.6 MB, free: 21.55 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.0002382/0.4775, allocations: 108.7 kB / 374.7 MB, free: 21.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4789, allocations: 0.5192 MB / 375.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4789, allocations: 0 / 375.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006939/0.4796, allocations: 388.9 kB / 375.6 MB, free: 20.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.4805, allocations: 58.28 kB / 375.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.4827, allocations: 0.9659 MB / 376.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.4832, allocations: 0.8395 MB / 377.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.4835, allocations: 42.89 kB / 377.5 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.4836, allocations: 29.91 kB / 377.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4836, allocations: 0 / 377.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of Templates: time 0.01316/0.4967, allocations: 4.661 MB / 382.2 MB, free: 19.34 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/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