Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.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.0009725/0.0009725, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001686/0.001686, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.051/1.051, allocations: 158.6 MB / 185.9 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1353/0.1353, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.472e-05, allocations: 2.312 kB / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003169/0.003204, allocations: 2.516 MB / 350.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004567, allocations: 0.6242 MB / 351.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.00471, allocations: 7.938 kB / 351.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004859, allocations: 39.58 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.004996, allocations: 75.28 kB / 351.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.005292, allocations: 79.77 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.005546, allocations: 306.4 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.005712, allocations: 52.78 kB / 351.8 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.00597, allocations: 171.7 kB / 351.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.006093, allocations: 95.69 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.006129, allocations: 24 kB / 352.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.006154, allocations: 24 kB / 352.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.006188, allocations: 47.83 kB / 352.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.00626, allocations: 95.75 kB / 352.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.006524, allocations: 187.4 kB / 352.4 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.00653, allocations: 4 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.006531, allocations: 4 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.006537, allocations: 0 / 352.4 MB, free: 4.855 MB / 282.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.0005344/0.007071, allocations: 0.5662 MB / 353 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.007119, allocations: 16.03 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.007175, allocations: 44.75 kB / 353 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.007357, allocations: 188.2 kB / 353.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.007371, allocations: 16.88 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.007405, allocations: 16.38 kB / 353.3 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.007616, allocations: 226.5 kB / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.007624, allocations: 192 / 353.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.007638, allocations: 8.375 kB / 353.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.007645, allocations: 11.94 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.007719, allocations: 63.38 kB / 353.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007593/0.008478, allocations: 0.6914 MB / 354.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.008609, allocations: 94.95 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.00865, allocations: 47.58 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.008667, allocations: 8 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.008696, allocations: 37.39 kB / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.008698, allocations: 0 / 354.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003646/0.009062, allocations: 149.2 kB / 354.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.00908, allocations: 55.34 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.009179, allocations: 249.8 kB / 354.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.009189, allocations: 25.7 kB / 354.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.009249, allocations: 218.9 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.009269, allocations: 43.62 kB / 355.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.009313, allocations: 43.34 kB / 355.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.00938, allocations: 0.4962 MB / 355.7 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.009409, allocations: 19.98 kB / 355.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.009454, allocations: 74.34 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.009566, allocations: 120.4 kB / 355.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.009569, allocations: 0 / 355.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001986/0.009768, allocations: 161.1 kB / 356.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.009782, allocations: 4 kB / 356.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009789, allocations: 0 / 356.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.00993, allocations: 35.66 kB / 356.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.01002, allocations: 32.05 kB / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009403/0.01096, allocations: 1.736 MB / 357.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.01104, allocations: 19.83 kB / 357.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01105, allocations: 4 kB / 357.9 MB, free: 14.96 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: basicTransformer.i2:VARIABLE(start = 0.0 unit = \"A\" fixed = true ) \"Current flowing from pos. to neg. pin of port 2\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.01122, allocations: 172.6 kB / 358.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.01126, allocations: 19.91 kB / 358.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.01128, allocations: 21.45 kB / 358.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01129, allocations: 4 kB / 358.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01129, allocations: 0 / 358.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.0113, allocations: 0 / 358.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.01149, allocations: 153.1 kB / 358.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01149, allocations: 0 / 358.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.01154, allocations: 19.98 kB / 358.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.01167, allocations: 39.61 kB / 358.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01168, allocations: 4 kB / 358.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009675/0.01265, allocations: 1.729 MB / 360.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01265, allocations: 8.062 kB / 360.1 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.01291, allocations: 295.3 kB / 360.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.01293, allocations: 15.84 kB / 360.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01295, allocations: 3.938 kB / 360.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.01303, allocations: 19.98 kB / 360.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.01306, allocations: 7.984 kB / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.01307, allocations: 0 / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.985e-05/0.01317, allocations: 176 kB / 360.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 4.031 kB / 360.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.01341, allocations: 63.84 kB / 360.6 MB, free: 12.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (basicTransformer.i1,basicTransformer.i2) * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.01353, allocations: 99.19 kB / 360.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.01388, allocations: 266.9 kB / 361 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01388, allocations: 0 / 361 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.01407, allocations: 217.8 kB / 361.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.0143, allocations: 27.91 kB / 361.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.01533, allocations: 467.3 kB / 361.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.733e-05/0.01539, allocations: 83.83 kB / 361.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.01546, allocations: 17.48 kB / 361.8 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01556, allocations: 98.19 kB / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01556, allocations: 0 / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005132/0.02069, allocations: 2.114 MB / 364 MB, free: 8.621 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.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.1913173710927367]