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.001319/0.001319, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001413/0.001413, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2229/0.2229, allocations: 44.95 MB / 358.8 MB, free: 6.059 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.002063/0.002063, allocations: 63.91 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 65.48 MB / 0.5574 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.00409/0.3642, allocations: 2.416 MB / 0.5598 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3655, allocations: 0.635 MB / 0.5604 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3656, allocations: 7.938 kB / 0.5604 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3658, allocations: 39.58 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3659, allocations: 79.27 kB / 0.5605 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.3662, allocations: 79.84 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.3666, allocations: 290.8 kB / 0.5609 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.3668, allocations: 67.22 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.367, allocations: 127.6 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3672, allocations: 99.47 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.3673, allocations: 24 kB / 0.5612 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.948e-05/0.3673, allocations: 24 kB / 0.5612 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.3674, allocations: 59.77 kB / 0.5613 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3675, allocations: 99.53 kB / 0.5614 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.3679, allocations: 294.5 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3679, allocations: 0 / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3679, allocations: 4 kB / 0.5617 GB, free: 3.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3679, allocations: 0 / 0.5617 GB, free: 3.133 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.0008425/0.3687, allocations: 477.5 kB / 0.5621 GB, free: 2.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3688, allocations: 8.031 kB / 0.5621 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.3689, allocations: 36.78 kB / 0.5622 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.3693, allocations: 194.1 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3694, allocations: 16.81 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.3694, allocations: 24.38 kB / 0.5624 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.3698, allocations: 280.6 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3698, allocations: 0 / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.3699, allocations: 4 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3699, allocations: 8 kB / 0.5627 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.3702, allocations: 137.7 kB / 0.5628 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3714, allocations: 0.6788 MB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3716, allocations: 86.55 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.3717, allocations: 52.83 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3717, allocations: 3.938 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3717, allocations: 30.56 kB / 0.5636 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3717, allocations: 4 kB / 0.5636 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001732/0.3735, allocations: 0.6458 MB / 0.5642 GB, free: 284 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3735, allocations: 55.5 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.3738, allocations: 218.8 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3738, allocations: 29.7 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.3739, allocations: 176.1 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.374, allocations: 55.48 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.374, allocations: 49.7 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3742, allocations: 334.8 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3743, allocations: 59.97 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3745, allocations: 97.12 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.3748, allocations: 177 kB / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3748, allocations: 0 / 0.5654 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005478/0.3754, allocations: 281.3 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3754, allocations: 4 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3754, allocations: 4 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.3757, allocations: 73.83 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3758, allocations: 35.91 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.3784, allocations: 2.764 MB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3785, allocations: 4 kB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3785, allocations: 11.98 kB / 0.5685 GB, free: 11.57 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.0001432/0.3787, allocations: 133.8 kB / 0.5687 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.3787, allocations: 23.84 kB / 0.5687 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.3788, allocations: 21.81 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3788, allocations: 0 / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3788, allocations: 0 / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3788, allocations: 8.047 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.379, allocations: 189.2 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.379, allocations: 0 / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.3791, allocations: 19.98 kB / 0.5689 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.3793, allocations: 69.8 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3793, allocations: 4 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.3818, allocations: 2.744 MB / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3818, allocations: 0 / 0.5717 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.3824, allocations: 396.1 kB / 0.572 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.3825, allocations: 16.12 kB / 0.5721 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3825, allocations: 4.188 kB / 0.5721 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3827, allocations: 23.98 kB / 0.5721 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3827, allocations: 23.84 kB / 0.5721 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.3828, allocations: 4 kB / 0.5721 GB, free: 7.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3829, allocations: 144.5 kB / 0.5723 GB, free: 7.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3829, allocations: 0 / 0.5723 GB, free: 7.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00035/0.3832, allocations: 64 kB / 0.5723 GB, free: 7.438 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.0001172/0.3834, allocations: 103.3 kB / 0.5724 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.3841, allocations: 401.1 kB / 0.5728 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3841, allocations: 3.938 kB / 0.5728 GB, free: 6.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/0.3846, allocations: 325.5 kB / 0.5731 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.385, allocations: 27.97 kB / 0.5731 GB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3861, allocations: 0.4983 MB / 0.5736 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.3863, allocations: 138.2 kB / 0.5738 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.3863, allocations: 21.62 kB / 0.5738 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.3864, allocations: 19.44 kB / 0.5738 GB, free: 5.812 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3864, allocations: 0 / 0.5738 GB, free: 5.812 MB / 414.1 MB Notification: Performance of Templates: time 0.007192/0.3936, allocations: 2.9 MB / 0.5766 GB, free: 2.953 MB / 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/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.335376247763634]