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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 116 kB / 20.89 MB, free: 1.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 192.6 kB / 24.12 MB, free: 4.574 MB / 14.72 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 1.464/1.464, allocations: 207.6 MB / 234.8 MB, free: 11.02 MB / 190.1 MB " [Timeout remaining time 178] 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.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=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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 55.91 kB / 347 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3177, allocations: 49.11 MB / 396.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005637/0.3234, allocations: 4.068 MB / 400.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.3253, allocations: 0.9246 MB / 401.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.3256, allocations: 8 kB / 401.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.3259, allocations: 98.41 kB / 401.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.3262, allocations: 184.8 kB / 401.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.3266, allocations: 145.3 kB / 401.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007258/0.3274, allocations: 0.6763 MB / 402.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.3276, allocations: 147.6 kB / 402.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.3279, allocations: 256.6 kB / 402.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.3283, allocations: 291.7 kB / 402.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.3284, allocations: 54.75 kB / 402.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3285, allocations: 55.28 kB / 403 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3286, allocations: 135.8 kB / 403.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.3289, allocations: 299 kB / 403.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00093/0.3298, allocations: 0.6368 MB / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3298, allocations: 0 / 404 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3298, allocations: 4 kB / 404 MB, free: 4.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.3298, allocations: 3.938 kB / 404 MB, free: 4.68 MB / 318.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.001777/0.3316, allocations: 0.8816 MB / 404.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.683e-05/0.3317, allocations: 12.39 kB / 404.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3319, allocations: 66.06 kB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.3325, allocations: 374.1 kB / 405.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.3326, allocations: 37.45 kB / 405.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.3327, allocations: 53.38 kB / 405.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.3336, allocations: 486.2 kB / 405.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/0.3336, allocations: 1.859 kB / 405.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.3336, allocations: 20.88 kB / 405.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3336, allocations: 12.22 kB / 406 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006972/0.3343, allocations: 325.9 kB / 406.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.337, allocations: 1.687 MB / 408 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.3375, allocations: 255.8 kB / 408.2 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3378, allocations: 136.2 kB / 408.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.3378, allocations: 6.688 kB / 408.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3378, allocations: 38.44 kB / 408.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.3378, allocations: 0 / 408.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001848/0.3397, allocations: 0.9622 MB / 409.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3397, allocations: 80.36 kB / 409.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3402, allocations: 387.3 kB / 409.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3402, allocations: 31.48 kB / 409.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3403, allocations: 298.3 kB / 410.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.3404, allocations: 121 kB / 410.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3405, allocations: 68.05 kB / 410.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.3406, allocations: 355.6 kB / 410.7 MB, free: 276 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.3408, allocations: 100.9 kB / 410.8 MB, free: 244 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.3411, allocations: 196.2 kB / 411 MB, free: 92 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.3416, allocations: 319.7 kB / 411.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3416, allocations: 4 kB / 411.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008857/0.3425, allocations: 443 kB / 411.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3426, allocations: 10.28 kB / 411.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3426, allocations: 3.25 kB / 411.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.3429, allocations: 77.41 kB / 411.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.3433, allocations: 84.48 kB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.3463, allocations: 3.134 MB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003126/0.3466, allocations: 23.73 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3466, allocations: 18.98 kB / 415 MB, free: 12.39 MB / 334.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.0002248/0.3469, allocations: 162.5 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.347, allocations: 45.27 kB / 415.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.347, allocations: 44.78 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.347, allocations: 1.219 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.347, allocations: 5.172 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.3472, allocations: 122.3 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.3472, allocations: 10.19 kB / 415.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.3476, allocations: 30.67 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.3477, allocations: 23.39 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001016/0.3487, allocations: 495.6 kB / 416 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008841/0.3496, allocations: 0.6373 MB / 416.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002109/0.3498, allocations: 102.2 kB / 416.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.3501, allocations: 278.3 kB / 417 MB, free: 10.99 MB / 334.1 MB Notification: Performance of Backend: time 5.31e-07/0.3501, allocations: 0 / 417 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3513, allocations: 0.5072 MB / 417.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of SimCode: time 0.002164/0.3535, allocations: 1.419 MB / 418.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of Templates: time 0.0127/0.3662, allocations: 5.329 MB / 424.2 MB, free: 6.777 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.1269597269711085]