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.001294/0.001294, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00195/0.00195, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 0.9675/0.9675, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.23/0.23, allocations: 32.81 MB / 294.6 MB, free: 1.234 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 4.478e-06/4.478e-06, allocations: 7.984 kB / 376.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.995e-05, allocations: 10.25 kB / 376.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00399/0.00402, allocations: 2.564 MB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.0052, allocations: 0.658 MB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.005345, allocations: 7.938 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.005488, allocations: 39.64 kB / 379.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.005643, allocations: 79.27 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.00595, allocations: 83.77 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.00642, allocations: 306.5 kB / 380.2 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.006588, allocations: 60.78 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.006888, allocations: 175.6 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.007036, allocations: 91.75 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.007076, allocations: 24 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.007156, allocations: 28 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.007202, allocations: 59.75 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.007293, allocations: 87.83 kB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.007594, allocations: 199.2 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007598, allocations: 0 / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007599, allocations: 0 / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007603, allocations: 0 / 380.9 MB, free: 15.98 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.000674/0.008277, allocations: 0.5741 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.00832, allocations: 8.031 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.008483, allocations: 60.73 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.008714, allocations: 188.7 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.008736, allocations: 16.88 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.008773, allocations: 24.31 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.009054, allocations: 230.5 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.009065, allocations: 192 / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.009085, allocations: 12.38 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.009095, allocations: 7.938 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.009206, allocations: 59.44 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.01014, allocations: 0.6953 MB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.0103, allocations: 90.95 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.01035, allocations: 35.67 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.01036, allocations: 0 / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01039, allocations: 37.61 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.624e-06/0.01039, allocations: 3.984 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004188/0.01081, allocations: 161 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.01084, allocations: 55.41 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.011, allocations: 246.1 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01102, allocations: 29.7 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.01139, allocations: 218.9 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.01142, allocations: 43.62 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/0.01148, allocations: 39.33 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01162, allocations: 0.504 MB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.01166, allocations: 23.98 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.01172, allocations: 72.81 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.01188, allocations: 114.2 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01188, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002476/0.01213, allocations: 167 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01214, allocations: 8 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01215, allocations: 4.125 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/0.0123, allocations: 35.66 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01241, allocations: 27.98 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.01354, allocations: 1.725 MB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.01362, allocations: 19.83 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.01363, allocations: 7.938 kB / 386.4 MB, free: 10.07 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.0001765/0.01381, allocations: 168.5 kB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.01385, allocations: 23.91 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.01388, allocations: 17.47 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01388, allocations: 64 / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.01389, allocations: 8 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01389, allocations: 0 / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.01409, allocations: 161 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.0141, allocations: 0 / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.01416, allocations: 23.92 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.01428, allocations: 35.64 kB / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01429, allocations: 0 / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000872/0.01516, allocations: 1.729 MB / 388.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.01517, allocations: 7.938 kB / 388.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.01545, allocations: 291.4 kB / 388.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01547, allocations: 15.89 kB / 388.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01549, allocations: 4.094 kB / 388.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01561, allocations: 20 kB / 388.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.01564, allocations: 11.91 kB / 388.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01565, allocations: 4 kB / 388.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.701e-05/0.01573, allocations: 171.1 kB / 389.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01573, allocations: 0 / 389.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01594, allocations: 63.83 kB / 389.1 MB, free: 7.152 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 8.23e-05/0.01602, allocations: 95.25 kB / 389.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01628, allocations: 263.5 kB / 389.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01628, allocations: 3.938 kB / 389.5 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01641, allocations: 221.4 kB / 389.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.0166, allocations: 20.75 kB / 389.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.01731, allocations: 474.7 kB / 390.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.01735, allocations: 75.98 kB / 390.3 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.0174, allocations: 17.48 kB / 390.3 MB, free: 5.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.01748, allocations: 102.2 kB / 390.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01748, allocations: 0 / 390.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of Templates: time 0.00396/0.02144, allocations: 2.12 MB / 392.5 MB, free: 3.719 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=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.0018767160363495]