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.00175/0.00175, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002144/0.002144, allocations: 205.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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.56/1.56, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 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.235/0.235, allocations: 44.91 MB / 359.6 MB, free: 6.305 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 75.89 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4073, allocations: 65.47 MB / 0.5582 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004361/0.4117, allocations: 2.598 MB / 0.5608 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.4132, allocations: 0.6855 MB / 0.5614 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.4134, allocations: 4 kB / 0.5614 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.4136, allocations: 39.58 kB / 0.5615 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.4138, allocations: 75.33 kB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4141, allocations: 87.78 kB / 0.5616 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.4146, allocations: 286.8 kB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4148, allocations: 71.22 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.4151, allocations: 131.5 kB / 0.5621 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.4153, allocations: 115.5 kB / 0.5622 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.4153, allocations: 24 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.4154, allocations: 24 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.4155, allocations: 55.83 kB / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.4156, allocations: 119.4 kB / 0.5624 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.416, allocations: 298.5 kB / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.416, allocations: 0 / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.416, allocations: 0 / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.416, allocations: 0 / 0.5627 GB, free: 3.121 MB / 398.1 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.0009223/0.4169, allocations: 479.7 kB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.417, allocations: 8.031 kB / 0.5632 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4172, allocations: 40.78 kB / 0.5632 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.4176, allocations: 198.1 kB / 0.5634 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4176, allocations: 16.81 kB / 0.5634 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4177, allocations: 20.38 kB / 0.5634 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.4181, allocations: 195.6 kB / 0.5636 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4181, allocations: 0 / 0.5636 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.4181, allocations: 4 kB / 0.5636 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4181, allocations: 12 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.4184, allocations: 145.6 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.4198, allocations: 0.7563 MB / 0.5645 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.42, allocations: 94.67 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.957e-05/0.4201, allocations: 48.77 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4201, allocations: 0 / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4202, allocations: 38.56 kB / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4202, allocations: 0 / 0.5647 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001761/0.4219, allocations: 0.6468 MB / 0.5653 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.422, allocations: 59.58 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4222, allocations: 212 kB / 0.5656 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4222, allocations: 29.64 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4224, allocations: 176.1 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.4224, allocations: 59.56 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.4225, allocations: 45.67 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4226, allocations: 334.8 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4228, allocations: 55.97 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.423, allocations: 109 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.4233, allocations: 169 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4233, allocations: 4 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005303/0.4238, allocations: 280.5 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4238, allocations: 10.97 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4238, allocations: 0 / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.4241, allocations: 77.83 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4243, allocations: 31.92 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.4268, allocations: 2.814 MB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.427, allocations: 16.02 kB / 0.5697 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.427, allocations: 8 kB / 0.5697 GB, free: 11.46 MB / 414.1 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.0001541/0.4271, allocations: 141.7 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.4272, allocations: 19.97 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.4272, allocations: 25.8 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4272, allocations: 4 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4272, allocations: 0 / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4272, allocations: 0 / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.4276, allocations: 264.5 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4276, allocations: 192 / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.4277, allocations: 23.92 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.4279, allocations: 73.61 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4279, allocations: 4 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.4303, allocations: 2.794 MB / 0.5729 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4303, allocations: 4 kB / 0.5729 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.431, allocations: 407.8 kB / 0.5733 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.431, allocations: 11.94 kB / 0.5733 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.431, allocations: 4 kB / 0.5733 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4312, allocations: 15.98 kB / 0.5734 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.4313, allocations: 15.97 kB / 0.5734 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.4313, allocations: 7.984 kB / 0.5734 GB, free: 7.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.4314, allocations: 152.6 kB / 0.5735 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4314, allocations: 4.062 kB / 0.5735 GB, free: 7.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.4318, allocations: 64 kB / 0.5736 GB, free: 7.148 MB / 414.1 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.0001334/0.4319, allocations: 95.78 kB / 0.5737 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.4326, allocations: 397.1 kB / 0.5741 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4326, allocations: 0 / 0.5741 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.4331, allocations: 329.2 kB / 0.5744 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4334, allocations: 27.92 kB / 0.5744 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4345, allocations: 0.5459 MB / 0.5749 GB, free: 5.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.4349, allocations: 0.744 MB / 0.5757 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.4349, allocations: 23.44 kB / 0.5757 GB, free: 4.883 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4349, allocations: 0 / 0.5757 GB, free: 4.883 MB / 414.1 MB Notification: Performance of Templates: time 0.007244/0.4422, allocations: 4.595 MB / 0.5802 GB, free: 296 kB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/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: 8.56289315293543]