Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002259/0.00226, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 93.95 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.376/0.376, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.88 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3335, allocations: 62.02 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007184/0.3407, allocations: 7.438 MB / 0.5224 GB, free: 32.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004374/0.3452, allocations: 2.352 MB / 0.5247 GB, free: 30.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008171/0.346, allocations: 26.91 kB / 0.5247 GB, free: 30.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.3492, allocations: 1.627 MB / 0.5263 GB, free: 29.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.3511, allocations: 0.6258 MB / 0.5269 GB, free: 29.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3525, allocations: 0.7244 MB / 0.5277 GB, free: 28.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3535, allocations: 1.21 MB / 0.5288 GB, free: 28.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.3546, allocations: 0.8417 MB / 0.5297 GB, free: 27.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.3552, allocations: 488.1 kB / 0.5301 GB, free: 27.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.3557, allocations: 0.6525 MB / 0.5308 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3558, allocations: 79.38 kB / 0.5308 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.3563, allocations: 270.3 kB / 0.5311 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3565, allocations: 242.8 kB / 0.5313 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.3568, allocations: 0.5822 MB / 0.5319 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.3579, allocations: 1.549 MB / 0.5334 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.358, allocations: 2.969 kB / 0.5334 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.358, allocations: 0 / 0.5334 GB, free: 26.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.358, allocations: 0 / 0.5334 GB, free: 26.09 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003755/0.3618, allocations: 1.807 MB / 0.5352 GB, free: 25.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3618, allocations: 13.98 kB / 0.5352 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008631/0.3704, allocations: 1.327 MB / 0.5365 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.3716, allocations: 0.5567 MB / 0.537 GB, free: 24.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.3717, allocations: 96.38 kB / 0.5371 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.3719, allocations: 135.6 kB / 0.5372 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.3742, allocations: 1.245 MB / 0.5385 GB, free: 23.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.781e-05/0.3743, allocations: 4.797 kB / 0.5385 GB, free: 23.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.3744, allocations: 61.48 kB / 0.5385 GB, free: 23.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.3744, allocations: 31.42 kB / 0.5386 GB, free: 23.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3767, allocations: 1.442 MB / 0.54 GB, free: 23.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.3842, allocations: 5.828 MB / 0.5457 GB, free: 19.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.386, allocations: 0.9482 MB / 0.5466 GB, free: 18.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.3866, allocations: 374.4 kB / 0.5469 GB, free: 18.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.3868, allocations: 182 kB / 0.5471 GB, free: 18.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3868, allocations: 44.44 kB / 0.5472 GB, free: 18.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.266e-06/0.3868, allocations: 3.938 kB / 0.5472 GB, free: 18.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002211/0.3891, allocations: 1.2 MB / 0.5483 GB, free: 17.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.3891, allocations: 60.78 kB / 0.5484 GB, free: 17.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3903, allocations: 0.8294 MB / 0.5492 GB, free: 17.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.3904, allocations: 41.7 kB / 0.5492 GB, free: 17.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.3908, allocations: 0.4952 MB / 0.5497 GB, free: 16.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.3911, allocations: 308.8 kB / 0.55 GB, free: 16.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.3915, allocations: 202.2 kB / 0.5502 GB, free: 16.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3916, allocations: 403.7 kB / 0.5506 GB, free: 16.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.3924, allocations: 343.9 kB / 0.5509 GB, free: 15.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.3934, allocations: 0.6157 MB / 0.5515 GB, free: 15.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3949, allocations: 0.9889 MB / 0.5525 GB, free: 14.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3949, allocations: 3.438 kB / 0.5525 GB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002672/0.3976, allocations: 1.186 MB / 0.5537 GB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.3976, allocations: 12.47 kB / 0.5537 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.3977, allocations: 9.328 kB / 0.5537 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.398, allocations: 67.3 kB / 0.5537 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3991, allocations: 262.8 kB / 0.554 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.4008, allocations: 2.631 MB / 0.5566 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.4018, allocations: 147.6 kB / 0.5567 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-05/0.4019, allocations: 51.81 kB / 0.5567 GB, free: 11.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000443/0.4023, allocations: 264.8 kB / 0.557 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.4025, allocations: 92.09 kB / 0.5571 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4044, allocations: 1.113 MB / 0.5582 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.4045, allocations: 9.844 kB / 0.5582 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4045, allocations: 0.5156 kB / 0.5582 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4045, allocations: 9.906 kB / 0.5582 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.4081, allocations: 3.149 MB / 0.5613 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4081, allocations: 5.188 kB / 0.5613 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.4088, allocations: 183.1 kB / 0.5614 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000201/0.409, allocations: 64.05 kB / 0.5615 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.4091, allocations: 25.94 kB / 0.5615 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.4105, allocations: 2.635 MB / 0.5641 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.4106, allocations: 11.56 kB / 0.5641 GB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.4144, allocations: 3.389 MB / 0.5674 GB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.4146, allocations: 203.6 kB / 0.5676 GB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4147, allocations: 27.98 kB / 0.5677 GB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/0.4153, allocations: 52.06 kB / 0.5677 GB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4155, allocations: 76.36 kB / 0.5678 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.4155, allocations: 28 kB / 0.5678 GB, free: 1.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005386/0.416, allocations: 0.5849 MB / 0.5684 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4161, allocations: 4 kB / 0.5684 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001058/0.4171, allocations: 379.4 kB / 0.5687 GB, free: 0.5547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 91 * 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,1,100.0%), (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.0002526/0.4174, allocations: 175 kB / 0.5689 GB, free: 384 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4193, allocations: 1.082 MB / 0.57 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4193, allocations: 8.062 kB / 0.57 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4204, allocations: 0.6189 MB / 0.5706 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/0.4213, allocations: 126.1 kB / 0.5707 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.4261, allocations: 2.743 MB / 0.5734 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.4271, allocations: 1.031 MB / 0.5744 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008655/0.4279, allocations: 151.8 kB / 0.5745 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.4282, allocations: 79.42 kB / 0.5746 GB, free: 10.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4282, allocations: 0 / 0.5746 GB, free: 10.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01966/0.4479, allocations: 10.58 MB / 0.5849 GB, free: 15.81 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches