Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007085/0.0007085, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001754, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000723/0.000723, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.00164, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9741/0.9741, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1842/1.158, allocations: 52.48 MB / 238.5 MB, free: 7.664 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1398/0.1398, allocations: 32.8 MB / 272 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02285/0.1626, allocations: 12.54 MB / 284.5 MB, free: 9.754 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 304.6 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.2e-05, allocations: 2.312 kB / 304.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004469/0.004481, allocations: 2.606 MB / 307.2 MB, free: 2.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.005754, allocations: 0.6111 MB / 307.8 MB, free: 1.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.005873, allocations: 15.86 kB / 307.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.661e-05/0.005949, allocations: 35.64 kB / 307.9 MB, free: 1.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.006092, allocations: 79.28 kB / 308 MB, free: 1.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.00624, allocations: 71.83 kB / 308 MB, free: 1.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.006497, allocations: 294.6 kB / 308.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.006599, allocations: 62.75 kB / 308.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.006814, allocations: 187.5 kB / 308.6 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.006921, allocations: 83.77 kB / 308.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.006952, allocations: 24 kB / 308.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.809e-05/0.00699, allocations: 24 kB / 308.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.007026, allocations: 43.81 kB / 308.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.007103, allocations: 79.81 kB / 308.8 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.007298, allocations: 163.4 kB / 309 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.007304, allocations: 4 kB / 309 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007305, allocations: 0 / 309 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.007309, allocations: 0 / 309 MB, free: 0.5039 MB / 298.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.000503/0.007812, allocations: 499.7 kB / 309.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.125e-05/0.007833, allocations: 16.03 kB / 309.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.007883, allocations: 35.86 kB / 309.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.008061, allocations: 168.9 kB / 309.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.008073, allocations: 12.5 kB / 309.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.008103, allocations: 24 kB / 309.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.008323, allocations: 233.8 kB / 309.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.008329, allocations: 3.938 kB / 309.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.008342, allocations: 4 kB / 309.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.008346, allocations: 8 kB / 310 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.008438, allocations: 55.47 kB / 310 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000751/0.009189, allocations: 0.5708 MB / 310.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.009281, allocations: 62.5 kB / 310.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.009315, allocations: 24.84 kB / 310.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.009325, allocations: 4 kB / 310.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.009343, allocations: 34.55 kB / 310.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.009345, allocations: 0 / 310.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001188/0.01053, allocations: 0.5298 MB / 311.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.01056, allocations: 59.34 kB / 311.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.01069, allocations: 194.2 kB / 311.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.0107, allocations: 29.64 kB / 311.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.01079, allocations: 160.1 kB / 311.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.01082, allocations: 59.5 kB / 311.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.01087, allocations: 45.66 kB / 311.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.01095, allocations: 334.8 kB / 312.1 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.01098, allocations: 27.92 kB / 312.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.01103, allocations: 61.12 kB / 312.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.01112, allocations: 111.6 kB / 312.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01112, allocations: 0 / 312.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001818/0.0113, allocations: 167 kB / 312.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.01131, allocations: 4.156 kB / 312.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.01131, allocations: 4 kB / 312.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.01147, allocations: 89.58 kB / 312.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.01155, allocations: 31.98 kB / 312.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.01278, allocations: 2.471 MB / 315 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.01283, allocations: 8 kB / 315.1 MB, free: 9.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.01284, allocations: 8 kB / 315.1 MB, free: 9.941 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.464e-05/0.01292, allocations: 121.8 kB / 315.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.01295, allocations: 23.92 kB / 315.2 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.01297, allocations: 21.8 kB / 315.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01297, allocations: 0 / 315.2 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01297, allocations: 3.938 kB / 315.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01298, allocations: 4.094 kB / 315.2 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.01312, allocations: 133.8 kB / 315.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01312, allocations: 3.984 kB / 315.4 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.01316, allocations: 19.98 kB / 315.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.01318, allocations: 19.84 kB / 315.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.01333, allocations: 73.59 kB / 315.5 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.01334, allocations: 8 kB / 315.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.01454, allocations: 2.455 MB / 317.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01454, allocations: 7.938 kB / 318 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.01476, allocations: 267.8 kB / 318.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.01477, allocations: 0 / 318.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.01484, allocations: 19.98 kB / 318.2 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01488, allocations: 15.97 kB / 318.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01489, allocations: 4 kB / 318.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.01493, allocations: 58.42 kB / 318.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01493, allocations: 0 / 318.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01514, allocations: 60 kB / 318.4 MB, free: 6.41 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.0001108/0.01525, allocations: 92.38 kB / 318.5 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.01559, allocations: 341.8 kB / 318.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.0156, allocations: 4 kB / 318.8 MB, free: 5.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.01583, allocations: 310.4 kB / 319.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01612, allocations: 222.3 kB / 319.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.01833, allocations: 477.8 kB / 319.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.375e-05/0.01839, allocations: 88.3 kB / 319.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.612e-05/0.01844, allocations: 17.64 kB / 319.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.01854, allocations: 87.28 kB / 320 MB, free: 4.656 MB / 314.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01854, allocations: 0 / 320 MB, free: 4.656 MB / 314.7 MB Notification: Performance of Templates: time 0.005001/0.02354, allocations: 2.951 MB / 322.9 MB, free: 1.738 MB / 314.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.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.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.9572876868769526]