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.001587/0.001587, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00171/0.00171, allocations: 164.8 kB / 24.99 MB, free: 8.793 MB / 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.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.3043/0.3043, allocations: 34.26 MB / 296 MB, free: 0.7734 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.793e-06/1.793e-06, allocations: 0 / 378 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.295e-05, allocations: 2.312 kB / 378 MB, free: 3.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003126/0.003159, allocations: 2.588 MB / 380.6 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.004156, allocations: 0.658 MB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.004265, allocations: 7.938 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.004397, allocations: 35.64 kB / 381.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.004509, allocations: 83.27 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.004786, allocations: 83.77 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.005046, allocations: 306.5 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.0052, allocations: 60.73 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.005455, allocations: 179.6 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005566, allocations: 83.77 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.005595, allocations: 24 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.411e-05/0.005649, allocations: 28 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.005682, allocations: 59.75 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.005749, allocations: 83.83 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005981, allocations: 199.2 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.005984, allocations: 0 / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005986, allocations: 0 / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.005991, allocations: 0 / 382.4 MB, free: 14.55 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.0005773/0.006568, allocations: 0.5624 MB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.006616, allocations: 12.03 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.006765, allocations: 52.73 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.006988, allocations: 200.6 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.007002, allocations: 16.88 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.007035, allocations: 24.38 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.00728, allocations: 230.5 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.007287, allocations: 4.188 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.007304, allocations: 8.375 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007314, allocations: 11.94 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.007427, allocations: 78.94 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.008202, allocations: 0.726 MB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.008323, allocations: 75.05 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.008367, allocations: 31.67 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.008381, allocations: 4 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.008405, allocations: 45.5 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.008407, allocations: 0 / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000948/0.009355, allocations: 0.5289 MB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.00938, allocations: 55.41 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.009522, allocations: 257.5 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.009536, allocations: 25.7 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.009619, allocations: 222.9 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.00965, allocations: 59.52 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.009699, allocations: 51.31 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.009816, allocations: 0.5001 MB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.009862, allocations: 27.98 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.009935, allocations: 90.09 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.01006, allocations: 130 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01006, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000267/0.01033, allocations: 227.2 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.01035, allocations: 11.94 kB / 386.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01035, allocations: 4 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.01058, allocations: 95.39 kB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.01066, allocations: 27.92 kB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.01233, allocations: 3.649 MB / 390.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.01239, allocations: 12.02 kB / 390.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01241, allocations: 8 kB / 390.4 MB, free: 5.922 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.0001007/0.01251, allocations: 160.6 kB / 390.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.01254, allocations: 27.86 kB / 390.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.01256, allocations: 25.8 kB / 390.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01256, allocations: 7.938 kB / 390.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.01257, allocations: 0 / 390.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01257, allocations: 3.938 kB / 390.7 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.01274, allocations: 200.5 kB / 390.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01274, allocations: 0 / 390.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.01278, allocations: 15.98 kB / 390.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.01296, allocations: 83.31 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.01297, allocations: 4 kB / 391 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.01466, allocations: 3.642 MB / 394.6 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01466, allocations: 0 / 394.6 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.01502, allocations: 366.9 kB / 395 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.01504, allocations: 11.91 kB / 395 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01505, allocations: 4 kB / 395 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.01515, allocations: 15.98 kB / 395 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.01521, allocations: 19.91 kB / 395 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.01522, allocations: 7.984 kB / 395 MB, free: 1.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.01532, allocations: 175.1 kB / 395.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01532, allocations: 7.969 kB / 395.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.01561, allocations: 67.94 kB / 395.3 MB, free: 0.7734 MB / 362.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.0001225/0.01574, allocations: 103.3 kB / 395.4 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.01626, allocations: 470.9 kB / 395.8 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01627, allocations: 320 / 395.8 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.01657, allocations: 426.4 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.01685, allocations: 27.98 kB / 396.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.01789, allocations: 474.4 kB / 396.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.01796, allocations: 84.31 kB / 396.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.01803, allocations: 21.62 kB / 396.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.01807, allocations: 12.5 kB / 396.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01807, allocations: 4 kB / 396.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of Templates: time 0.005142/0.02322, allocations: 2.717 MB / 399.6 MB, free: 12.37 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3594245959538966]