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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 105.4 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3683/0.3683, allocations: 44.12 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 52.11 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4202, allocations: 60.8 MB / 0.5064 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.004134/0.4244, allocations: 2.604 MB / 0.5089 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.4254, allocations: 0.6003 MB / 0.5095 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.4255, allocations: 2.938 kB / 0.5095 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.4257, allocations: 31.88 kB / 0.5095 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.4259, allocations: 62.14 kB / 0.5096 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.4261, allocations: 62.25 kB / 0.5097 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.4264, allocations: 275.3 kB / 0.5099 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.4266, allocations: 73.92 kB / 0.51 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.4267, allocations: 110.1 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.4269, allocations: 113 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.4269, allocations: 17.34 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.427, allocations: 14.56 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.427, allocations: 39.11 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.4271, allocations: 123.6 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.4274, allocations: 272.7 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4274, allocations: 0 / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4274, allocations: 0 / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.4274, allocations: 0 / 0.5107 GB, free: 35.3 MB / 378.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.0007303/0.4281, allocations: 0.5244 MB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4282, allocations: 12.69 kB / 0.5112 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.4283, allocations: 26.5 kB / 0.5112 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4285, allocations: 252 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4286, allocations: 17.09 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.4286, allocations: 22.75 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.4289, allocations: 194.4 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4289, allocations: 0 / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.429, allocations: 8 kB / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.429, allocations: 6.188 kB / 0.5117 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.4293, allocations: 141.3 kB / 0.5118 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.4304, allocations: 0.8109 MB / 0.5126 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.4306, allocations: 96.77 kB / 0.5127 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.4307, allocations: 50.23 kB / 0.5127 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4307, allocations: 3.031 kB / 0.5127 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.4307, allocations: 34.5 kB / 0.5128 GB, free: 33.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4307, allocations: 0 / 0.5128 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001542/0.4323, allocations: 0.7221 MB / 0.5135 GB, free: 33.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.4323, allocations: 51.41 kB / 0.5135 GB, free: 33.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4325, allocations: 211.9 kB / 0.5137 GB, free: 33.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.4325, allocations: 29.7 kB / 0.5138 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.4326, allocations: 172 kB / 0.5139 GB, free: 32.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.4326, allocations: 56.08 kB / 0.514 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.4327, allocations: 42.67 kB / 0.514 GB, free: 32.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.4328, allocations: 335.3 kB / 0.5143 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4329, allocations: 61.08 kB / 0.5144 GB, free: 32.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4331, allocations: 102.4 kB / 0.5145 GB, free: 32.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.4333, allocations: 175.3 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4333, allocations: 2.75 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004575/0.4338, allocations: 282.2 kB / 0.5149 GB, free: 32.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.4338, allocations: 6.562 kB / 0.5149 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4339, allocations: 0 / 0.5149 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.4341, allocations: 70 kB / 0.515 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4343, allocations: 32.66 kB / 0.515 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.436, allocations: 2.809 MB / 0.5178 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4362, allocations: 9.844 kB / 0.5178 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4362, allocations: 9.281 kB / 0.5178 GB, free: 29.33 MB / 378.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 0.0001133/0.4363, allocations: 140.7 kB / 0.5179 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.4364, allocations: 18.09 kB / 0.518 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.4364, allocations: 28.7 kB / 0.518 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4364, allocations: 2.25 kB / 0.518 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.4364, allocations: 1.062 kB / 0.518 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4364, allocations: 4.406 kB / 0.518 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.4367, allocations: 281.8 kB / 0.5183 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4367, allocations: 1 kB / 0.5183 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.4368, allocations: 15.58 kB / 0.5183 GB, free: 28.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.437, allocations: 74.02 kB / 0.5183 GB, free: 28.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.4371, allocations: 9.188 kB / 0.5184 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.4388, allocations: 2.791 MB / 0.5211 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4388, allocations: 0 / 0.5211 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/0.4419, allocations: 3.336 MB / 0.5243 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.442, allocations: 89.19 kB / 0.5244 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.442, allocations: 12.16 kB / 0.5244 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4422, allocations: 14.06 kB / 0.5244 GB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.4423, allocations: 16.28 kB / 0.5245 GB, free: 23.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.4423, allocations: 7.562 kB / 0.5245 GB, free: 23.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.4425, allocations: 157.8 kB / 0.5246 GB, free: 23.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4425, allocations: 0 / 0.5246 GB, free: 23.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.4429, allocations: 85.23 kB / 0.5247 GB, free: 23.06 MB / 378.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.0001088/0.443, allocations: 96.88 kB / 0.5248 GB, free: 22.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006074/0.4437, allocations: 415.8 kB / 0.5252 GB, free: 22.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4437, allocations: 0 / 0.5252 GB, free: 22.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.4441, allocations: 323.2 kB / 0.5255 GB, free: 22.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4445, allocations: 38.98 kB / 0.5255 GB, free: 22.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.4458, allocations: 0.8904 MB / 0.5264 GB, free: 21.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.446, allocations: 0.7492 MB / 0.5271 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.4462, allocations: 17.7 kB / 0.5272 GB, free: 20.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.4462, allocations: 15.75 kB / 0.5272 GB, free: 20.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4462, allocations: 0 / 0.5272 GB, free: 20.98 MB / 378.7 MB Notification: Performance of Templates: time 0.006243/0.4525, allocations: 3.008 MB / 0.5301 GB, free: 20.76 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches