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.001842/0.001842, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002012/0.002012, allocations: 165.3 kB / 24.28 MB, free: 152 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.697/1.697, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3442/0.3442, allocations: 32.8 MB / 293.9 MB, free: 1.215 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 2.184e-06/2.184e-06, allocations: 0 / 375.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.816e-05/4.035e-05, allocations: 6.312 kB / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004609/0.004649, allocations: 2.564 MB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.006146, allocations: 0.6388 MB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.006286, allocations: 4 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.006472, allocations: 43.58 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.006668, allocations: 79.27 kB / 378.6 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.007029, allocations: 83.81 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.007439, allocations: 302.4 kB / 378.9 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.007653, allocations: 64.72 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.007999, allocations: 175.6 kB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.008184, allocations: 91.77 kB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.008231, allocations: 20 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/0.008317, allocations: 28 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.008486, allocations: 51.77 kB / 379.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.008619, allocations: 87.81 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.009074, allocations: 306.9 kB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.009079, allocations: 0 / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009081, allocations: 0 / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.00909, allocations: 4 kB / 379.7 MB, free: 496 kB / 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.001005/0.01009, allocations: 0.5777 MB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.01014, allocations: 8.031 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.01036, allocations: 60.73 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.0107, allocations: 192.7 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.01073, allocations: 16.88 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.01077, allocations: 20.38 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.0112, allocations: 265.8 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01122, allocations: 4.188 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.01124, allocations: 8.312 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01125, allocations: 7.938 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.01155, allocations: 137.9 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.01302, allocations: 0.7806 MB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.01324, allocations: 110.9 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.01333, allocations: 43.67 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.01337, allocations: 4 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.0134, allocations: 33.39 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.0134, allocations: 0 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001856/0.01526, allocations: 0.6447 MB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.01534, allocations: 63.34 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.0157, allocations: 278.7 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.01573, allocations: 33.7 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.01592, allocations: 226.9 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.01601, allocations: 59.53 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.01612, allocations: 55.31 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003675/0.01649, allocations: 0.504 MB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.01665, allocations: 55.97 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.01687, allocations: 118.1 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.01722, allocations: 190 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01722, allocations: 0 / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006296/0.01785, allocations: 287.2 kB / 384.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.01788, allocations: 11.94 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.01789, allocations: 160 / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.01837, allocations: 107.2 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01853, allocations: 27.98 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/0.02276, allocations: 3.813 MB / 388.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02294, allocations: 8 kB / 388.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.02295, allocations: 4 kB / 388.5 MB, free: 7.176 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.0002402/0.02319, allocations: 188.6 kB / 388.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.02326, allocations: 23.86 kB / 388.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.02331, allocations: 25.8 kB / 388.7 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.02332, allocations: 7.938 kB / 388.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.02333, allocations: 0 / 388.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.02333, allocations: 0 / 388.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.02369, allocations: 232.5 kB / 388.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02369, allocations: 192 / 388.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.823e-05/0.02378, allocations: 19.98 kB / 388.9 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003918/0.02417, allocations: 103.2 kB / 389 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.02419, allocations: 7.938 kB / 389 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.02757, allocations: 3.798 MB / 392.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.02757, allocations: 3.938 kB / 392.8 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.02829, allocations: 446.9 kB / 393.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.02834, allocations: 27.94 kB / 393.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.02836, allocations: 4 kB / 393.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.02853, allocations: 15.98 kB / 393.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.02859, allocations: 11.97 kB / 393.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.02861, allocations: 8 kB / 393.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.02889, allocations: 199.2 kB / 393.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02889, allocations: 0 / 393.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.02928, allocations: 67.94 kB / 393.6 MB, free: 1.688 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.0001477/0.02943, allocations: 103.2 kB / 393.7 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008211/0.03025, allocations: 0.5217 MB / 394.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.03026, allocations: 0 / 394.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.03082, allocations: 451.5 kB / 394.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.03113, allocations: 19.98 kB / 394.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.03223, allocations: 492.1 kB / 395.2 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.03241, allocations: 138.2 kB / 395.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.0325, allocations: 17.62 kB / 395.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.03255, allocations: 16.5 kB / 395.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03255, allocations: 0 / 395.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Templates: time 0.008096/0.04065, allocations: 2.714 MB / 398.1 MB, free: 13.14 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] 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: 5.276142272981815]