Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.897/0.897, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.536e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003278/0.003303, allocations: 3.641 MB / 303.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.00481, allocations: 0.8924 MB / 304.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.005042, allocations: 8 kB / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.005225, allocations: 99 kB / 304.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.005512, allocations: 186.3 kB / 304.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.005828, allocations: 147.7 kB / 304.7 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005359/0.006364, allocations: 0.7002 MB / 305.4 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.006585, allocations: 127.7 kB / 305.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.006964, allocations: 395.1 kB / 305.9 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.007166, allocations: 207.3 kB / 306.1 MB, free: 484 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003389/0.007505, allocations: 56 kB / 306.2 MB, free: 428 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.007555, allocations: 60 kB / 306.2 MB, free: 368 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.007619, allocations: 131.4 kB / 306.3 MB, free: 236 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.007749, allocations: 215.4 kB / 306.6 MB, free: 20 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.008196, allocations: 0.6541 MB / 307.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.0082, allocations: 4 kB / 307.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008201, allocations: 3.938 kB / 307.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.008209, allocations: 0 / 307.2 MB, free: 15.36 MB / 298.7 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.0008812/0.00909, allocations: 0.793 MB / 308 MB, free: 14.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.009128, allocations: 15.92 kB / 308 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.009202, allocations: 72.5 kB / 308.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.009584, allocations: 317.3 kB / 308.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.009611, allocations: 37.38 kB / 308.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.009663, allocations: 48.38 kB / 308.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.01021, allocations: 0.6192 MB / 309.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01022, allocations: 192 / 309.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.01025, allocations: 24.38 kB / 309.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.01026, allocations: 15.94 kB / 309.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.01064, allocations: 328.4 kB / 309.5 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01212, allocations: 1.46 MB / 310.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.01242, allocations: 245.1 kB / 311.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.01256, allocations: 137.7 kB / 311.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.01258, allocations: 7.938 kB / 311.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.0126, allocations: 34.56 kB / 311.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.0126, allocations: 4 kB / 311.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001129/0.01373, allocations: 0.8048 MB / 312.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.01378, allocations: 81.11 kB / 312.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.01406, allocations: 377.5 kB / 312.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.01408, allocations: 33.7 kB / 312.6 MB, free: 9.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01422, allocations: 288.1 kB / 312.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.01427, allocations: 123 kB / 313 MB, free: 9.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.01434, allocations: 78.14 kB / 313.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003424/0.01468, allocations: 350.8 kB / 313.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.01481, allocations: 96.95 kB / 313.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.01497, allocations: 203.1 kB / 313.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.01526, allocations: 310 kB / 314.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01527, allocations: 4 kB / 314.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004576/0.01572, allocations: 438.7 kB / 314.5 MB, free: 7.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01574, allocations: 8 kB / 314.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01575, allocations: 0 / 314.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.01596, allocations: 85.75 kB / 314.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01613, allocations: 79.89 kB / 314.7 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.01763, allocations: 2.859 MB / 317.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01776, allocations: 19.97 kB / 317.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01778, allocations: 19.98 kB / 317.6 MB, free: 4.414 MB / 298.7 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.000145/0.01792, allocations: 169.7 kB / 317.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.01797, allocations: 43.7 kB / 317.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.018, allocations: 43.33 kB / 317.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01801, allocations: 8 kB / 317.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.01801, allocations: 3.938 kB / 317.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01802, allocations: 7.984 kB / 317.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.01877, allocations: 0.7947 MB / 318.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01878, allocations: 0 / 318.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.01887, allocations: 47.97 kB / 318.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.01902, allocations: 85.58 kB / 318.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01903, allocations: 4 kB / 318.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.02063, allocations: 2.874 MB / 321.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02063, allocations: 0 / 321.6 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.02116, allocations: 0.6024 MB / 322.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.0212, allocations: 39.73 kB / 322.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.02122, allocations: 8 kB / 322.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.02138, allocations: 31.97 kB / 322.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.02143, allocations: 23.95 kB / 322.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.02144, allocations: 12 kB / 322.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.02161, allocations: 259.2 kB / 322.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02161, allocations: 0 / 322.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.02197, allocations: 116 kB / 322.7 MB, free: 14.98 MB / 314.7 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.0001162/0.02209, allocations: 119.2 kB / 322.8 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.02262, allocations: 0.4893 MB / 323.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02262, allocations: 0 / 323.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.02291, allocations: 381.2 kB / 323.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.02325, allocations: 62.11 kB / 323.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.02428, allocations: 0.9011 MB / 324.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.02442, allocations: 234.2 kB / 324.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.02449, allocations: 36.5 kB / 324.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02449, allocations: 0 / 324.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Templates: time 0.007335/0.03183, allocations: 9.001 MB / 333.9 MB, free: 3.633 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886502023786306]