Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001809/0.001809, 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.002406/0.002406, allocations: 212.8 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.88 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3504, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004107/0.3545, allocations: 2.42 MB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3558, allocations: 0.6428 MB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3559, allocations: 8 kB / 0.5641 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3561, allocations: 43.52 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.3562, allocations: 71.34 kB / 0.5642 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3565, allocations: 79.83 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.3568, allocations: 286.8 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.357, allocations: 71.22 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.3573, allocations: 127.5 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3574, allocations: 107.5 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3575, allocations: 20 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.3575, allocations: 28 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.3576, allocations: 51.83 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3577, allocations: 103.5 kB / 0.565 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3581, allocations: 290.5 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.3581, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3581, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3581, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.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.00085/0.3589, allocations: 481.5 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.359, allocations: 12.03 kB / 0.5657 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3592, allocations: 32.78 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3595, allocations: 202 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3596, allocations: 12.81 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.3596, allocations: 24.36 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.36, allocations: 276.7 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3601, allocations: 0 / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3601, allocations: 8 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3601, allocations: 4 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.3604, allocations: 141.7 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.3617, allocations: 0.6749 MB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3619, allocations: 86.56 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.362, allocations: 44.83 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.362, allocations: 8.062 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.362, allocations: 38.56 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.362, allocations: 0 / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001822/0.3639, allocations: 0.6529 MB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3639, allocations: 59.41 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3641, allocations: 206.8 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3642, allocations: 29.7 kB / 0.5682 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3643, allocations: 176.2 kB / 0.5683 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3644, allocations: 55.48 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.3644, allocations: 41.7 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3646, allocations: 330.8 kB / 0.5687 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3647, allocations: 63.97 kB / 0.5688 GB, free: 11.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3649, allocations: 101.1 kB / 0.5689 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.3652, allocations: 179.8 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3652, allocations: 3.938 kB / 0.5691 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000539/0.3658, allocations: 278.9 kB / 0.5693 GB, free: 11.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3658, allocations: 8 kB / 0.5693 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3658, allocations: 3.984 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.366, allocations: 69.69 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3662, allocations: 36.12 kB / 0.5695 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.3687, allocations: 2.756 MB / 0.5721 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3689, allocations: 8.016 kB / 0.5722 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3689, allocations: 12.12 kB / 0.5722 GB, free: 8.273 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.0001557/0.369, allocations: 137.8 kB / 0.5723 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3691, allocations: 23.84 kB / 0.5723 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.3691, allocations: 21.8 kB / 0.5723 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3691, allocations: 4 kB / 0.5723 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3691, allocations: 0 / 0.5723 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3692, allocations: 0 / 0.5723 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3694, allocations: 189.2 kB / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3694, allocations: 192 / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.3695, allocations: 27.98 kB / 0.5725 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.3697, allocations: 69.69 kB / 0.5726 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3697, allocations: 7.938 kB / 0.5726 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.3721, allocations: 2.741 MB / 0.5753 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3721, allocations: 4 kB / 0.5753 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.3727, allocations: 393.4 kB / 0.5757 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.3728, allocations: 15.94 kB / 0.5757 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3728, allocations: 4 kB / 0.5757 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.373, allocations: 20.11 kB / 0.5757 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.3731, allocations: 23.91 kB / 0.5757 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.3731, allocations: 4 kB / 0.5757 GB, free: 4.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3732, allocations: 148.2 kB / 0.5759 GB, free: 4.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3732, allocations: 3.938 kB / 0.5759 GB, free: 4.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.3736, allocations: 64 kB / 0.5759 GB, free: 4.121 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.0001152/0.3737, allocations: 99.23 kB / 0.576 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000715/0.3744, allocations: 401.1 kB / 0.5764 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3744, allocations: 0 / 0.5764 GB, free: 3.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000473/0.3749, allocations: 324.5 kB / 0.5767 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.3752, allocations: 30.64 kB / 0.5768 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3762, allocations: 0.506 MB / 0.5773 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.3764, allocations: 138.2 kB / 0.5774 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.141e-05/0.3765, allocations: 13.64 kB / 0.5774 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.3765, allocations: 15.42 kB / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3765, allocations: 4 kB / 0.5774 GB, free: 2.508 MB / 414.1 MB Notification: Performance of Templates: time 0.00717/0.3837, allocations: 2.891 MB / 0.5802 GB, free: 15.66 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.528551664203405]