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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001521/0.001521, allocations: 206 kB / 23.73 MB, free: 4.379 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.738 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.2509/0.2509, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] 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.002131/0.002131, allocations: 75.81 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3683, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004037/0.3724, allocations: 2.415 MB / 0.5634 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3736, allocations: 0.6467 MB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3737, allocations: 7.938 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.3738, allocations: 43.62 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.374, allocations: 67.36 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.3743, allocations: 75.83 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.3746, allocations: 298.7 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.3748, allocations: 75.22 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.3751, allocations: 115.6 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.3752, allocations: 131.5 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3753, allocations: 20 kB / 0.5648 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.3753, allocations: 28 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.3754, allocations: 43.84 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3755, allocations: 115.5 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.3759, allocations: 286.5 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3759, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3759, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3759, allocations: 0 / 0.5653 GB, free: 15.81 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.0008616/0.3768, allocations: 481.5 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3768, allocations: 12.03 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.377, allocations: 28.8 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.3773, allocations: 198.1 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3774, allocations: 20.81 kB / 0.566 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.3774, allocations: 20.38 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.3778, allocations: 272.7 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3778, allocations: 0 / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3779, allocations: 12 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3779, allocations: 4 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.3782, allocations: 149.5 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3794, allocations: 0.6711 MB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3796, allocations: 90.48 kB / 0.5672 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.3797, allocations: 44.84 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3797, allocations: 3.938 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/0.3798, allocations: 34.56 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.3798, allocations: 4 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001705/0.3815, allocations: 0.6504 MB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3815, allocations: 55.41 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.3817, allocations: 214.8 kB / 0.5682 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3818, allocations: 29.7 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3819, allocations: 168.2 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.3819, allocations: 59.47 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.382, allocations: 45.7 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3822, allocations: 326.8 kB / 0.5688 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3824, allocations: 55.97 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3825, allocations: 117 kB / 0.5689 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.3829, allocations: 171.4 kB / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3829, allocations: 0 / 0.5691 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005434/0.3834, allocations: 286.9 kB / 0.5694 GB, free: 11.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3835, allocations: 8 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3835, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.3837, allocations: 69.67 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3839, allocations: 35.92 kB / 0.5695 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/0.3864, allocations: 2.752 MB / 0.5722 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.3865, allocations: 8.031 kB / 0.5722 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.3866, allocations: 12.66 kB / 0.5722 GB, free: 8.262 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.0001463/0.3867, allocations: 134 kB / 0.5723 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3868, allocations: 19.84 kB / 0.5723 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.3868, allocations: 25.8 kB / 0.5723 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3868, allocations: 0 / 0.5723 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3868, allocations: 4 kB / 0.5724 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3868, allocations: 0 / 0.5724 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3871, allocations: 193.2 kB / 0.5725 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3871, allocations: 0 / 0.5725 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.3872, allocations: 23.92 kB / 0.5726 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.3874, allocations: 73.8 kB / 0.5726 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3874, allocations: 11.98 kB / 0.5726 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.3901, allocations: 2.741 MB / 0.5753 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3901, allocations: 0 / 0.5753 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007552/0.3908, allocations: 388.8 kB / 0.5757 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3909, allocations: 15.94 kB / 0.5757 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3909, allocations: 8.172 kB / 0.5757 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3911, allocations: 20.12 kB / 0.5757 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.3912, allocations: 23.89 kB / 0.5758 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3912, allocations: 8 kB / 0.5758 GB, free: 4.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.3914, allocations: 148.2 kB / 0.5759 GB, free: 4.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3914, allocations: 0 / 0.5759 GB, free: 4.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.3918, allocations: 64 kB / 0.576 GB, free: 4.109 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.0001802/0.3919, allocations: 95.19 kB / 0.5761 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008613/0.3928, allocations: 397.2 kB / 0.5764 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3928, allocations: 0 / 0.5764 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.3933, allocations: 340.2 kB / 0.5768 GB, free: 3.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3936, allocations: 23.12 kB / 0.5768 GB, free: 3.215 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3947, allocations: 0.5061 MB / 0.5773 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3948, allocations: 138.2 kB / 0.5774 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.3949, allocations: 17.62 kB / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3949, allocations: 11.44 kB / 0.5774 GB, free: 2.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3949, allocations: 0 / 0.5774 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Templates: time 0.007174/0.4021, allocations: 2.972 MB / 0.5803 GB, free: 15.56 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.338957742787898]