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.001848/0.001848, allocations: 112.2 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.002101/0.002101, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 8.223 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.2435/0.2435, allocations: 46.95 MB / 361.6 MB, free: 4.309 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.002133/0.002133, allocations: 71.89 kB / 0.4974 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3815, allocations: 66.02 MB / 0.5618 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00427/0.3858, allocations: 2.603 MB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3872, allocations: 0.6894 MB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3873, allocations: 4 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3875, allocations: 39.58 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3876, allocations: 75.33 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3879, allocations: 75.84 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.3883, allocations: 294.8 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.3885, allocations: 72.22 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.3888, allocations: 123.5 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.389, allocations: 119.4 kB / 0.5658 GB, free: 308 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.389, allocations: 24 kB / 0.5659 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.3891, allocations: 31.98 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.3891, allocations: 47.84 kB / 0.5659 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3893, allocations: 123.4 kB / 0.566 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.3897, allocations: 293.5 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.3897, allocations: 4 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3897, allocations: 0 / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.3897, allocations: 0 / 0.5663 GB, free: 15.79 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.0008294/0.3905, allocations: 477.5 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3905, allocations: 8.031 kB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.3907, allocations: 36.8 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3911, allocations: 198 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.3911, allocations: 16.81 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.3912, allocations: 24.38 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.3915, allocations: 187.6 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3916, allocations: 7.938 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3916, allocations: 8 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3916, allocations: 4 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.3919, allocations: 141.7 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3932, allocations: 0.7679 MB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3934, allocations: 90.48 kB / 0.5682 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.3935, allocations: 40.84 kB / 0.5683 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3935, allocations: 7.984 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3936, allocations: 38.69 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3936, allocations: 4 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001775/0.3953, allocations: 0.6529 MB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3954, allocations: 51.41 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3956, allocations: 218.9 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3957, allocations: 25.7 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3958, allocations: 168.2 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.3959, allocations: 63.56 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.3959, allocations: 41.66 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3961, allocations: 330.8 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3962, allocations: 59.97 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3964, allocations: 109 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.3967, allocations: 171.6 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3967, allocations: 0 / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005328/0.3973, allocations: 282.9 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3973, allocations: 6.812 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3973, allocations: 4 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002673/0.3975, allocations: 77.77 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3977, allocations: 31.98 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.4004, allocations: 2.814 MB / 0.5733 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.4005, allocations: 8.219 kB / 0.5733 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.4006, allocations: 8 kB / 0.5733 GB, free: 8.148 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.0001599/0.4007, allocations: 145.7 kB / 0.5734 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4008, allocations: 23.95 kB / 0.5734 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.928e-05/0.4008, allocations: 25.81 kB / 0.5735 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4008, allocations: 0 / 0.5735 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4008, allocations: 4 kB / 0.5735 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4008, allocations: 3.938 kB / 0.5735 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.4011, allocations: 264.5 kB / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4011, allocations: 0 / 0.5737 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.4012, allocations: 15.98 kB / 0.5737 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.4014, allocations: 69.67 kB / 0.5738 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4015, allocations: 0 / 0.5738 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.404, allocations: 2.806 MB / 0.5765 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.404, allocations: 0 / 0.5765 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.4047, allocations: 393.4 kB / 0.5769 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.4047, allocations: 24.06 kB / 0.5769 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.4047, allocations: 3.984 kB / 0.5769 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4049, allocations: 19.98 kB / 0.577 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.405, allocations: 15.97 kB / 0.577 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.405, allocations: 4 kB / 0.577 GB, free: 4.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.4051, allocations: 152.6 kB / 0.5771 GB, free: 3.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4051, allocations: 3.938 kB / 0.5771 GB, free: 3.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000368/0.4055, allocations: 64 kB / 0.5772 GB, free: 3.828 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.0001151/0.4056, allocations: 95.78 kB / 0.5773 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007198/0.4063, allocations: 403.9 kB / 0.5777 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4063, allocations: 4.062 kB / 0.5777 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.4068, allocations: 321.3 kB / 0.578 GB, free: 2.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.4071, allocations: 31.86 kB / 0.578 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4082, allocations: 0.5499 MB / 0.5786 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.4086, allocations: 0.744 MB / 0.5793 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.4087, allocations: 19.42 kB / 0.5793 GB, free: 1.559 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4087, allocations: 4 kB / 0.5793 GB, free: 1.555 MB / 414.1 MB Notification: Performance of Templates: time 0.007397/0.4161, allocations: 4.585 MB / 0.5838 GB, free: 12.97 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/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: 8.677600344875827]