Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.001506/0.001506, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001572/0.001572, allocations: 161.7 kB / 24.27 MB, free: 172 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3645/0.3645, allocations: 32.79 MB / 293.9 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.208e-06/4.208e-06, allocations: 4 kB / 375.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.499e-05, allocations: 9.484 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004096/0.004131, allocations: 2.429 MB / 377.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.00538, allocations: 0.6349 MB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.005488, allocations: 4 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.005632, allocations: 39.64 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.00579, allocations: 79.27 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.006079, allocations: 75.83 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.006463, allocations: 314.4 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.006625, allocations: 60.72 kB / 378.9 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.006939, allocations: 175.6 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.007098, allocations: 87.75 kB / 379.1 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.007142, allocations: 24 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.007219, allocations: 32 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.107e-05/0.00728, allocations: 59.75 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007393, allocations: 83.83 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.007803, allocations: 303 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.007808, allocations: 3.984 kB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007809, allocations: 0 / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.007815, allocations: 0 / 379.6 MB, free: 0.6172 MB / 346.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.0008828/0.008698, allocations: 473.6 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.008738, allocations: 12.03 kB / 380.1 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.008951, allocations: 56.73 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.009465, allocations: 209.8 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.00949, allocations: 16.88 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.515e-05/0.009545, allocations: 24.38 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.01001, allocations: 269.8 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.01001, allocations: 4.188 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.01004, allocations: 4.375 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.01005, allocations: 11.94 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.01037, allocations: 145.9 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01173, allocations: 0.6994 MB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.01199, allocations: 102.5 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.01212, allocations: 56.98 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.01214, allocations: 8 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.01217, allocations: 30.56 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.01217, allocations: 0 / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007239/0.0129, allocations: 210.2 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.01294, allocations: 51.41 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.01319, allocations: 206.5 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01321, allocations: 25.7 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.01335, allocations: 168.2 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.0134, allocations: 47.58 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.01347, allocations: 37.66 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.01366, allocations: 334.8 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.01378, allocations: 51.91 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.01393, allocations: 84.27 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.01459, allocations: 238.1 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01459, allocations: 0 / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004523/0.01505, allocations: 214.1 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01506, allocations: 4 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01507, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.01528, allocations: 36.95 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01546, allocations: 39.92 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.01713, allocations: 1.288 MB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.01726, allocations: 15.89 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01727, allocations: 4 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.01748, allocations: 134 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.01755, allocations: 23.91 kB / 384.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.01759, allocations: 21.45 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01759, allocations: 3.938 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.0176, allocations: 7.938 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.0176, allocations: 0 / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.01789, allocations: 193.1 kB / 385.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01789, allocations: 0 / 385.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.997e-05/0.01799, allocations: 23.98 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.01814, allocations: 28.83 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01815, allocations: 8 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.01948, allocations: 1.284 MB / 386.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01948, allocations: 0 / 386.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.02002, allocations: 312.1 kB / 386.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.02005, allocations: 15.89 kB / 386.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.02007, allocations: 0 / 386.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.02024, allocations: 19.98 kB / 386.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.02029, allocations: 4.141 kB / 386.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.0203, allocations: 11.98 kB / 386.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.02047, allocations: 152.2 kB / 386.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02047, allocations: 0 / 386.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.02081, allocations: 59.89 kB / 387 MB, free: 8.695 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001341/0.02094, allocations: 99.19 kB / 387.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.02149, allocations: 243.9 kB / 387.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0215, allocations: 0 / 387.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.02181, allocations: 166.6 kB / 387.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.02212, allocations: 32.69 kB / 387.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.02307, allocations: 484.8 kB / 388 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02321, allocations: 125.9 kB / 388.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.02328, allocations: 17.48 kB / 388.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.02334, allocations: 16.5 kB / 388.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02334, allocations: 0 / 388.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of Templates: time 0.005958/0.0293, allocations: 1.972 MB / 390.1 MB, free: 5.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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.993148727924563]