Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.002412/0.002412, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002939/0.002939, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3512/0.3512, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 377.3 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.919e-05, allocations: 2.312 kB / 377.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004948/0.004977, allocations: 2.554 MB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.00643, allocations: 0.6467 MB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.006555, allocations: 4 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.006719, allocations: 47.41 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.006885, allocations: 83.27 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.007222, allocations: 75.83 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.00759, allocations: 306.4 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.007757, allocations: 64.73 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.008068, allocations: 175.6 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.008245, allocations: 91.75 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.008292, allocations: 24 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.486e-05/0.008367, allocations: 24 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.008427, allocations: 55.77 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.008539, allocations: 87.75 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.008947, allocations: 299 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00895, allocations: 3.938 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.008951, allocations: 0 / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.008957, allocations: 4 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009392/0.009897, allocations: 0.5699 MB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.009934, allocations: 12.03 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.01014, allocations: 56.73 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.01046, allocations: 196.7 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.01048, allocations: 20.88 kB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.01053, allocations: 20.38 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004186/0.01094, allocations: 261.8 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01096, allocations: 4.125 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.011, allocations: 12.38 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.01101, allocations: 7.938 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.0113, allocations: 133.9 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.01285, allocations: 0.7846 MB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01307, allocations: 98.97 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.01316, allocations: 43.67 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.01319, allocations: 8 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.01322, allocations: 33.39 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.01322, allocations: 4 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001755/0.01497, allocations: 0.6442 MB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.01502, allocations: 55.34 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.01532, allocations: 285.5 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.01535, allocations: 29.7 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01552, allocations: 226.9 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.01558, allocations: 63.52 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.01567, allocations: 55.31 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002785/0.01595, allocations: 0.5079 MB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.01609, allocations: 63.91 kB / 385.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.01628, allocations: 114.1 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.0166, allocations: 192.6 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01661, allocations: 0 / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005725/0.01718, allocations: 292.8 kB / 386.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.0172, allocations: 11.88 kB / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.0172, allocations: 0 / 386.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.01761, allocations: 103.3 kB / 386.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.01777, allocations: 27.98 kB / 386.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.02115, allocations: 3.809 MB / 390.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.02129, allocations: 12.06 kB / 390.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.02131, allocations: 8 kB / 390.5 MB, free: 5.148 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.02149, allocations: 180.5 kB / 390.7 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.02154, allocations: 23.86 kB / 390.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.02171, allocations: 25.8 kB / 390.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.02171, allocations: 7.938 kB / 390.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.02172, allocations: 0 / 390.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.02172, allocations: 0 / 390.7 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.02205, allocations: 232.5 kB / 390.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02205, allocations: 4 kB / 390.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.02214, allocations: 15.98 kB / 391 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003405/0.02248, allocations: 99.23 kB / 391.1 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.0225, allocations: 8 kB / 391.1 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.02579, allocations: 3.802 MB / 394.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02579, allocations: 0 / 394.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.02649, allocations: 442.9 kB / 395.3 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.02656, allocations: 28.03 kB / 395.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.02658, allocations: 0 / 395.3 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.02677, allocations: 15.98 kB / 395.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.02683, allocations: 15.97 kB / 395.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.02685, allocations: 8 kB / 395.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.02703, allocations: 191.1 kB / 395.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02703, allocations: 4.031 kB / 395.6 MB, free: 15.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.0274, allocations: 67.75 kB / 395.6 MB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.02755, allocations: 103.3 kB / 395.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008521/0.0284, allocations: 0.5147 MB / 396.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.02841, allocations: 12 kB / 396.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.02897, allocations: 443.2 kB / 396.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.02929, allocations: 32.11 kB / 396.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.03033, allocations: 487.3 kB / 397.2 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.03048, allocations: 138.2 kB / 397.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.03057, allocations: 21.62 kB / 397.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.03063, allocations: 16.5 kB / 397.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03063, allocations: 0 / 397.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of Templates: time 0.0079/0.03853, allocations: 2.718 MB / 400.1 MB, free: 11.12 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.088244447018951]