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.001798/0.001798, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002358/0.002358, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2339/0.2339, allocations: 44.94 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 179] 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.0021/0.0021, allocations: 74.23 kB / 0.4942 GB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 65.48 MB / 0.5582 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004272/0.3631, allocations: 2.418 MB / 0.5605 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3646, allocations: 0.6349 MB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3647, allocations: 4 kB / 0.5612 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3649, allocations: 47.58 kB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.3651, allocations: 75.33 kB / 0.5613 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.3654, allocations: 75.84 kB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.3658, allocations: 290.8 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.366, allocations: 63.23 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.3662, allocations: 131.5 kB / 0.5618 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.3664, allocations: 99.48 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.3665, allocations: 24 kB / 0.5619 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.3665, allocations: 28 kB / 0.562 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.3666, allocations: 55.77 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.3667, allocations: 103.5 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3671, allocations: 294.5 kB / 0.5624 GB, free: 3.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3671, allocations: 4 kB / 0.5624 GB, free: 3.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3671, allocations: 0 / 0.5624 GB, free: 3.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3672, allocations: 0 / 0.5624 GB, free: 3.168 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.000945/0.3681, allocations: 477.5 kB / 0.5628 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3681, allocations: 8.031 kB / 0.5629 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.3683, allocations: 36.78 kB / 0.5629 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.3687, allocations: 194.1 kB / 0.5631 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3687, allocations: 16.81 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3688, allocations: 24.31 kB / 0.5631 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.3692, allocations: 280.6 kB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3692, allocations: 0 / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.3693, allocations: 12 kB / 0.5634 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3693, allocations: 4 kB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.3696, allocations: 137.7 kB / 0.5635 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.3709, allocations: 0.6749 MB / 0.5642 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3711, allocations: 90.48 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3712, allocations: 48.83 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3712, allocations: 3.938 kB / 0.5643 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3713, allocations: 34.56 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3713, allocations: 4 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001827/0.3731, allocations: 0.6504 MB / 0.565 GB, free: 308 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3732, allocations: 51.41 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3734, allocations: 210.8 kB / 0.5652 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.3735, allocations: 33.64 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3736, allocations: 172.2 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.3737, allocations: 67.45 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3738, allocations: 33.72 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.374, allocations: 334.8 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3741, allocations: 59.97 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3743, allocations: 109.1 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3746, allocations: 169 kB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3747, allocations: 0 / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005397/0.3752, allocations: 289.3 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3752, allocations: 6.656 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3752, allocations: 4 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.3755, allocations: 70.27 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3757, allocations: 27.98 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.3787, allocations: 2.76 MB / 0.5693 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3789, allocations: 11.98 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.3789, allocations: 4 kB / 0.5693 GB, free: 11.62 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.0001787/0.379, allocations: 141.9 kB / 0.5694 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.3791, allocations: 23.84 kB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.3791, allocations: 29.73 kB / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3791, allocations: 0 / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3792, allocations: 0 / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3792, allocations: 0 / 0.5695 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.3795, allocations: 193.2 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3795, allocations: 0 / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.3796, allocations: 15.98 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.3797, allocations: 73.61 kB / 0.5697 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3798, allocations: 7.938 kB / 0.5697 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.3827, allocations: 2.745 MB / 0.5724 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3827, allocations: 0 / 0.5724 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.3835, allocations: 392.9 kB / 0.5728 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.3835, allocations: 11.94 kB / 0.5728 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.3836, allocations: 4 kB / 0.5728 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3837, allocations: 20.11 kB / 0.5728 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.3838, allocations: 23.84 kB / 0.5728 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3838, allocations: 8.172 kB / 0.5729 GB, free: 7.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.384, allocations: 148.5 kB / 0.573 GB, free: 7.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.384, allocations: 0 / 0.573 GB, free: 7.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.3844, allocations: 60 kB / 0.5731 GB, free: 7.469 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.0001715/0.3846, allocations: 103.2 kB / 0.5732 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007991/0.3854, allocations: 397.2 kB / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.3854, allocations: 0 / 0.5735 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3859, allocations: 332.4 kB / 0.5738 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.3863, allocations: 24.3 kB / 0.5739 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.3874, allocations: 0.539 MB / 0.5744 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.3876, allocations: 134.2 kB / 0.5745 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.3876, allocations: 19.44 kB / 0.5745 GB, free: 5.828 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3876, allocations: 0 / 0.5745 GB, free: 5.828 MB / 414.1 MB Notification: Performance of Templates: time 0.007611/0.3953, allocations: 4.599 MB / 0.579 GB, free: 1.227 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/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.479761338792741]