Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001412/0.001412, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001503/0.001503, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2303/0.2303, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.321e-05/4.507e-05, allocations: 10.25 kB / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00345/0.003495, allocations: 2.369 MB / 349.3 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.004559, allocations: 0.6164 MB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.004687, allocations: 7.938 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.004831, allocations: 39.64 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004959, allocations: 75.28 kB / 350 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.005195, allocations: 71.83 kB / 350.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.005458, allocations: 306.4 kB / 350.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.005629, allocations: 56.72 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.005831, allocations: 171.6 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005963, allocations: 87.77 kB / 350.7 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.006018, allocations: 28 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.006057, allocations: 24 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.006106, allocations: 55.77 kB / 350.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.006197, allocations: 87.81 kB / 350.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.006486, allocations: 291.1 kB / 351.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.006491, allocations: 0 / 351.2 MB, free: 5.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006492, allocations: 3.938 kB / 351.2 MB, free: 5.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.0065, allocations: 0 / 351.2 MB, free: 5.559 MB / 282.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.0008087/0.007308, allocations: 485.5 kB / 351.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.007355, allocations: 12.03 kB / 351.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/0.007453, allocations: 48.75 kB / 351.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.00777, allocations: 177.4 kB / 351.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.007792, allocations: 16.88 kB / 351.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.007842, allocations: 20.38 kB / 351.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.008221, allocations: 277.8 kB / 352.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.008232, allocations: 4.188 kB / 352.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.008254, allocations: 4.375 kB / 352.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008262, allocations: 11.94 kB / 352.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.008512, allocations: 149.9 kB / 352.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.009541, allocations: 0.6994 MB / 353 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.009741, allocations: 106.5 kB / 353.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.009833, allocations: 52.78 kB / 353.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.009849, allocations: 4 kB / 353.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.009873, allocations: 34.56 kB / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.009874, allocations: 0 / 353.2 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.000634/0.01051, allocations: 210.5 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.01053, allocations: 55.34 kB / 353.5 MB, free: 3.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.01067, allocations: 198.3 kB / 353.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.01069, allocations: 29.7 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.01076, allocations: 168.1 kB / 353.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01079, allocations: 51.62 kB / 353.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.01085, allocations: 37.7 kB / 354 MB, free: 2.543 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.01092, allocations: 330.8 kB / 354.3 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.01101, allocations: 43.97 kB / 354.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.01111, allocations: 84.27 kB / 354.4 MB, free: 2.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.01162, allocations: 243.2 kB / 354.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01162, allocations: 0 / 354.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003346/0.01196, allocations: 218.2 kB / 354.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01197, allocations: 4 kB / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01198, allocations: 0 / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.01218, allocations: 36.95 kB / 354.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01233, allocations: 35.92 kB / 354.9 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/0.0132, allocations: 1.284 MB / 356.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01332, allocations: 19.88 kB / 356.2 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01333, allocations: 16.09 kB / 356.3 MB, free: 100 kB / 282.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.0002238/0.01355, allocations: 141.8 kB / 356.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.0136, allocations: 15.91 kB / 356.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.01365, allocations: 25.45 kB / 356.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01365, allocations: 4 kB / 356.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01366, allocations: 3.938 kB / 356.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01366, allocations: 0 / 356.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.01394, allocations: 177.2 kB / 356.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01394, allocations: 4 kB / 356.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.01404, allocations: 19.98 kB / 356.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.01419, allocations: 36.78 kB / 356.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.0142, allocations: 0 / 356.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.01546, allocations: 1.288 MB / 358 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01546, allocations: 0 / 358 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.01599, allocations: 304.1 kB / 358.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.01602, allocations: 15.88 kB / 358.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.01605, allocations: 11.98 kB / 358.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.0162, allocations: 8 kB / 358.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.01626, allocations: 16.12 kB / 358.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01627, allocations: 4 kB / 358.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001572/0.01643, allocations: 152.1 kB / 358.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01643, allocations: 0 / 358.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.01677, allocations: 59.89 kB / 358.5 MB, free: 13.66 MB / 298.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.0001397/0.01691, allocations: 99.19 kB / 358.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.01747, allocations: 244.1 kB / 358.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.01747, allocations: 4 kB / 358.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.01778, allocations: 166.6 kB / 359 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.0181, allocations: 39.84 kB / 359.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.01911, allocations: 476.4 kB / 359.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.01927, allocations: 125.9 kB / 359.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.25e-05/0.01936, allocations: 17.48 kB / 359.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.01941, allocations: 16.5 kB / 359.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01941, allocations: 3.938 kB / 359.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Templates: time 0.00646/0.02587, allocations: 1.963 MB / 361.7 MB, free: 10.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.110064216074534]