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.0008943/0.0008943, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002225, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009228/0.0009228, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001242/0.002165, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.059/1.059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08951/1.148, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.3158/0.3158, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02349/0.3393, allocations: 13.09 MB / 291.3 MB, free: 7.367 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 1.072e-06/1.072e-06, allocations: 3.938 kB / 311.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.65e-06/6.722e-06, allocations: 4.062 kB / 311.7 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.002136/0.002143, allocations: 2.631 MB / 314.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006503/0.002793, allocations: 0.6772 MB / 315 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.002839, allocations: 11.92 kB / 315 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.543e-05/0.002884, allocations: 35.64 kB / 315.1 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.002957, allocations: 79.28 kB / 315.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.003059, allocations: 79.83 kB / 315.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.003227, allocations: 302.6 kB / 315.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.175e-05/0.003289, allocations: 62.69 kB / 315.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.003581, allocations: 203.5 kB / 315.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.003646, allocations: 79.78 kB / 315.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.003665, allocations: 24 kB / 315.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.003697, allocations: 31.98 kB / 315.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.00372, allocations: 47.81 kB / 316 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.003769, allocations: 71.88 kB / 316 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003896, allocations: 175.3 kB / 316.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003898, allocations: 0 / 316.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.003899, allocations: 0 / 316.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.363e-06/0.0039, allocations: 0 / 316.2 MB, free: 13.86 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.0003312/0.004231, allocations: 499.7 kB / 316.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.269e-05/0.004244, allocations: 12.03 kB / 316.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.004322, allocations: 51.89 kB / 316.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004438, allocations: 172.8 kB / 316.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.004447, allocations: 12.5 kB / 316.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.004467, allocations: 23.94 kB / 317 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.004605, allocations: 229.9 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-06/0.004608, allocations: 0 / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004618, allocations: 8 kB / 317.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-06/0.004621, allocations: 8 kB / 317.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.004675, allocations: 47.48 kB / 317.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.005156, allocations: 0.5747 MB / 317.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.005216, allocations: 66.55 kB / 317.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.005236, allocations: 20.86 kB / 317.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.005243, allocations: 3.984 kB / 317.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.005254, allocations: 34.56 kB / 318 MB, free: 11.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.005255, allocations: 0 / 318 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007509/0.006006, allocations: 0.5285 MB / 318.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.006024, allocations: 59.34 kB / 318.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.006108, allocations: 188.5 kB / 318.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.006123, allocations: 29.7 kB / 318.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.006187, allocations: 168.1 kB / 318.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.006216, allocations: 59.52 kB / 319 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.006257, allocations: 41.64 kB / 319 MB, free: 10.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.006336, allocations: 330.8 kB / 319.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.006361, allocations: 23.92 kB / 319.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.006411, allocations: 67.03 kB / 319.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.478e-05/0.006506, allocations: 107.6 kB / 319.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006507, allocations: 3.938 kB / 319.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001667/0.006674, allocations: 171 kB / 319.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.00668, allocations: 8.156 kB / 319.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.006683, allocations: 4 kB / 319.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.006831, allocations: 77.66 kB / 319.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.006901, allocations: 35.97 kB / 319.8 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.007922, allocations: 2.463 MB / 322.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.00797, allocations: 8 kB / 322.3 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007977, allocations: 7.938 kB / 322.3 MB, free: 7.316 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 6.609e-05/0.008044, allocations: 129.8 kB / 322.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.008072, allocations: 23.91 kB / 322.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.008088, allocations: 21.81 kB / 322.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-07/0.008089, allocations: 0 / 322.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.008092, allocations: 4 kB / 322.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008095, allocations: 3.984 kB / 322.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.008208, allocations: 125.8 kB / 322.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008208, allocations: 4 kB / 322.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.008249, allocations: 23.92 kB / 322.6 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.008262, allocations: 19.8 kB / 322.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002783/0.00854, allocations: 81.67 kB / 322.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.008546, allocations: 0 / 322.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009894/0.009535, allocations: 2.471 MB / 325.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009537, allocations: 3.938 kB / 325.2 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.009723, allocations: 261.1 kB / 325.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.009735, allocations: 0 / 325.5 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.009802, allocations: 19.98 kB / 325.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.009828, allocations: 11.97 kB / 325.5 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.009835, allocations: 8 kB / 325.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.764e-05/0.009873, allocations: 52.55 kB / 325.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009873, allocations: 0 / 325.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.01004, allocations: 64 kB / 325.6 MB, free: 3.777 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 8.017e-05/0.01012, allocations: 96.31 kB / 325.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.01039, allocations: 335.2 kB / 326 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.0104, allocations: 4 kB / 326 MB, free: 3.316 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.01057, allocations: 313 kB / 326.3 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.01072, allocations: 36.12 kB / 326.4 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.01279, allocations: 494.5 kB / 326.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01284, allocations: 84.31 kB / 326.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.791e-05/0.01289, allocations: 17.64 kB / 327 MB, free: 2.316 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.01297, allocations: 79.34 kB / 327 MB, free: 2.238 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01297, allocations: 0 / 327 MB, free: 2.238 MB / 314.7 MB Notification: Performance of Templates: time 0.004903/0.01787, allocations: 2.944 MB / 330 MB, free: 15.34 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0317382719367743]