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.0008843/0.0008843, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.002123, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007779/0.0007779, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.00188, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9815/0.9815, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2834/0.2834, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05188/0.3353, allocations: 13.11 MB / 291.5 MB, free: 7.336 MB / 282.7 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 3.777e-06/3.777e-06, allocations: 0 / 312 MB, free: 2.273 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/3.039e-05, allocations: 2.312 kB / 312 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003197/0.003227, allocations: 2.634 MB / 314.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004249, allocations: 0.6733 MB / 315.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.004339, allocations: 8 kB / 315.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.027e-05/0.004409, allocations: 51.56 kB / 315.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.004503, allocations: 71.28 kB / 315.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.00466, allocations: 87.75 kB / 315.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.004859, allocations: 298.6 kB / 315.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.004949, allocations: 66.69 kB / 315.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.005191, allocations: 191.6 kB / 316 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.005287, allocations: 87.78 kB / 316.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.00531, allocations: 27.94 kB / 316.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.00536, allocations: 35.92 kB / 316.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.005387, allocations: 39.81 kB / 316.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.005443, allocations: 71.88 kB / 316.3 MB, free: 13.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005619, allocations: 175.4 kB / 316.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.005624, allocations: 0 / 316.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005625, allocations: 0 / 316.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005629, allocations: 0 / 316.5 MB, free: 13.75 MB / 314.7 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.0004197/0.006049, allocations: 0.4957 MB / 316.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.006081, allocations: 12.03 kB / 317 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.006216, allocations: 43.89 kB / 317 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.006397, allocations: 168.9 kB / 317.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.006408, allocations: 16.5 kB / 317.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.006429, allocations: 16 kB / 317.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.006602, allocations: 233.8 kB / 317.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.006606, allocations: 8 kB / 317.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006618, allocations: 8 kB / 317.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.006622, allocations: 4 kB / 317.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.689e-05/0.006689, allocations: 47.48 kB / 317.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.007304, allocations: 0.567 MB / 318.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.007387, allocations: 70.48 kB / 318.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.007413, allocations: 20.8 kB / 318.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.007426, allocations: 7.984 kB / 318.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.007445, allocations: 34.56 kB / 318.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.007446, allocations: 0 / 318.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009755/0.008421, allocations: 0.5295 MB / 318.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.008449, allocations: 55.34 kB / 318.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.008553, allocations: 195.1 kB / 319 MB, free: 11.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.008569, allocations: 33.64 kB / 319 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.008632, allocations: 164.1 kB / 319.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.008663, allocations: 59.52 kB / 319.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.00871, allocations: 49.64 kB / 319.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.00879, allocations: 330.8 kB / 319.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.008815, allocations: 23.94 kB / 319.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.008863, allocations: 71.08 kB / 319.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.008951, allocations: 103.4 kB / 319.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008953, allocations: 0 / 319.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001946/0.009147, allocations: 179 kB / 320 MB, free: 9.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.009157, allocations: 4 kB / 320 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.00916, allocations: 0 / 320 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.009317, allocations: 85.75 kB / 320 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.009392, allocations: 27.98 kB / 320.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.01056, allocations: 2.478 MB / 322.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.01062, allocations: 12.03 kB / 322.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01063, allocations: 4 kB / 322.6 MB, free: 7.172 MB / 314.7 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 7.668e-05/0.01071, allocations: 121.8 kB / 322.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.01073, allocations: 19.92 kB / 322.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.01076, allocations: 25.8 kB / 322.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01076, allocations: 192 / 322.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.01077, allocations: 4 kB / 322.7 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01077, allocations: 4 kB / 322.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.0109, allocations: 129.8 kB / 322.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.0109, allocations: 0 / 322.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.01094, allocations: 19.98 kB / 322.9 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.01096, allocations: 19.83 kB / 322.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.0111, allocations: 85.58 kB / 323 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.01111, allocations: 0 / 323 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.01218, allocations: 2.468 MB / 325.5 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01219, allocations: 3.938 kB / 325.5 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.0124, allocations: 256.7 kB / 325.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01241, allocations: 4 kB / 325.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.01248, allocations: 15.98 kB / 325.7 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.01252, allocations: 15.97 kB / 325.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01253, allocations: 4 kB / 325.7 MB, free: 3.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.01258, allocations: 61.73 kB / 325.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01258, allocations: 4.062 kB / 325.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002052/0.01278, allocations: 64 kB / 325.9 MB, free: 3.641 MB / 314.7 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.0001027/0.01289, allocations: 92.28 kB / 326 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.01322, allocations: 331.8 kB / 326.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.01324, allocations: 7.938 kB / 326.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.01345, allocations: 306 kB / 326.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01372, allocations: 206.2 kB / 326.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.01591, allocations: 0.4914 MB / 327.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.01597, allocations: 84.31 kB / 327.4 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.988e-05/0.01603, allocations: 17.64 kB / 327.4 MB, free: 1.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.01612, allocations: 79.34 kB / 327.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01612, allocations: 3.938 kB / 327.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of Templates: time 0.005049/0.02117, allocations: 2.966 MB / 330.4 MB, free: 14.97 MB / 330.7 MB Notification: Evaluated the parameters basicTransformer.L1, basicTransformer.M, basicTransformer.L2, since an equation would be solved by dividing by zero otherwise. Changing them requires recompiling the model. " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.952539911493659]