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.001001/0.001001, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001035/0.001035, allocations: 161.4 kB / 24.56 MB, free: 16 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.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2777/0.2777, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] 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 1.373e-06/1.373e-06, allocations: 0 / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.736e-05, allocations: 6.312 kB / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003415/0.003442, allocations: 2.585 MB / 378.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004743, allocations: 0.6658 MB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.004913, allocations: 4 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.00506, allocations: 35.64 kB / 379.3 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.005201, allocations: 79.22 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.005552, allocations: 83.81 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.005867, allocations: 306.5 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.006039, allocations: 60.78 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.006333, allocations: 179.6 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.006673, allocations: 83.77 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.282e-05/0.006706, allocations: 20 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.006773, allocations: 28 kB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.006814, allocations: 55.75 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.006892, allocations: 87.83 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.007156, allocations: 199.2 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007159, allocations: 0 / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007161, allocations: 3.938 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007167, allocations: 4 kB / 380.4 MB, free: 240 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.0006683/0.007835, allocations: 0.5585 MB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.00788, allocations: 8.031 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.008038, allocations: 52.73 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.008294, allocations: 196.7 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.00831, allocations: 24.88 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.008352, allocations: 24.36 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.00863, allocations: 230.5 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.00864, allocations: 4.172 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.008661, allocations: 12.38 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.008672, allocations: 7.938 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.008814, allocations: 74.89 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.009683, allocations: 0.726 MB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.009826, allocations: 86.91 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.009873, allocations: 31.67 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.00989, allocations: 4 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.009916, allocations: 41.39 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.009918, allocations: 0 / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.00103/0.01095, allocations: 0.5306 MB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.01098, allocations: 55.41 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.01113, allocations: 250.7 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01114, allocations: 33.7 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.944e-05/0.01123, allocations: 218.9 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.01127, allocations: 59.52 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.01132, allocations: 51.25 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.01144, allocations: 0.5 MB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.01149, allocations: 27.98 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.01158, allocations: 90.09 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.01172, allocations: 132.6 kB / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01172, allocations: 0 / 384.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002757/0.01199, allocations: 224.6 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.01201, allocations: 7.938 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01202, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.01226, allocations: 91.41 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.01235, allocations: 27.98 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.01435, allocations: 3.649 MB / 388.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.01442, allocations: 8 kB / 388.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01443, allocations: 12 kB / 388.4 MB, free: 7.621 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 9.512e-05/0.01453, allocations: 164.5 kB / 388.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.01456, allocations: 35.91 kB / 388.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.01459, allocations: 21.81 kB / 388.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01459, allocations: 7.938 kB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.0146, allocations: 0 / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.0146, allocations: 0 / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.01477, allocations: 196.7 kB / 388.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01477, allocations: 4 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.01481, allocations: 11.98 kB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.01501, allocations: 91.3 kB / 389 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01502, allocations: 4 kB / 389 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.0166, allocations: 3.646 MB / 392.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0166, allocations: 0 / 392.6 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.01692, allocations: 358.8 kB / 393 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.01694, allocations: 19.89 kB / 393 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.01695, allocations: 4 kB / 393 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.01703, allocations: 16.19 kB / 393 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.01709, allocations: 23.95 kB / 393 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.0171, allocations: 4 kB / 393 MB, free: 2.707 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.01718, allocations: 179.2 kB / 393.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01718, allocations: 0 / 393.2 MB, free: 2.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.01744, allocations: 67.94 kB / 393.3 MB, free: 2.465 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.0001176/0.01756, allocations: 99.25 kB / 393.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004453/0.018, allocations: 482.7 kB / 393.8 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01801, allocations: 4 kB / 393.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005339/0.01854, allocations: 418.6 kB / 394.3 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01878, allocations: 24.3 kB / 394.3 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.01971, allocations: 478.3 kB / 394.7 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.01976, allocations: 80.33 kB / 394.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.01981, allocations: 21.62 kB / 394.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.01985, allocations: 20.48 kB / 394.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01986, allocations: 0 / 394.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of Templates: time 0.005065/0.02492, allocations: 2.718 MB / 397.6 MB, free: 14.05 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","",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.4591873036697507]