Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 195.2 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 226.6 MB / 243.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009503/0.0009497, allocations: 106.6 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3615/0.3615, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002947, allocations: 8 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 62.97 MB / 0.5159 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.0051/0.3385, allocations: 6.471 MB / 0.5222 GB, free: 32.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.3415, allocations: 2.173 MB / 0.5243 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/0.3419, allocations: 26.47 kB / 0.5243 GB, free: 30.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.3424, allocations: 253.5 kB / 0.5246 GB, free: 30.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3436, allocations: 0.5961 MB / 0.5252 GB, free: 30.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3446, allocations: 0.6093 MB / 0.5258 GB, free: 29.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008033/0.3454, allocations: 1.135 MB / 0.5269 GB, free: 29.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.3476, allocations: 1.603 MB / 0.5284 GB, free: 28.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.3481, allocations: 432.2 kB / 0.5289 GB, free: 28.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.3485, allocations: 0.5646 MB / 0.5294 GB, free: 27.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.3486, allocations: 54.22 kB / 0.5295 GB, free: 27.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.3491, allocations: 234.4 kB / 0.5297 GB, free: 27.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3493, allocations: 201.8 kB / 0.5299 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.3496, allocations: 0.5389 MB / 0.5304 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008189/0.3504, allocations: 1.203 MB / 0.5316 GB, free: 26.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3504, allocations: 0 / 0.5316 GB, free: 26.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3505, allocations: 0 / 0.5316 GB, free: 26.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3505, allocations: 0 / 0.5316 GB, free: 26.89 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.003369/0.3538, allocations: 1.569 MB / 0.5331 GB, free: 26.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3539, allocations: 11.41 kB / 0.5331 GB, free: 26.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/0.362, allocations: 1.35 MB / 0.5344 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.3626, allocations: 0.5507 MB / 0.535 GB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.3627, allocations: 100.3 kB / 0.5351 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.3629, allocations: 139.8 kB / 0.5352 GB, free: 25.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.3647, allocations: 1.239 MB / 0.5364 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.3647, allocations: 4 kB / 0.5364 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3648, allocations: 57.12 kB / 0.5365 GB, free: 24.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3649, allocations: 34.72 kB / 0.5365 GB, free: 24.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.3668, allocations: 1.44 MB / 0.5379 GB, free: 24.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006972/0.3738, allocations: 5.866 MB / 0.5436 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.3755, allocations: 0.9458 MB / 0.5446 GB, free: 19.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.376, allocations: 371.9 kB / 0.5449 GB, free: 19.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.3762, allocations: 181.2 kB / 0.5451 GB, free: 19.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3762, allocations: 45.77 kB / 0.5451 GB, free: 19.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.146e-06/0.3762, allocations: 0 / 0.5451 GB, free: 19.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002122/0.3784, allocations: 1.212 MB / 0.5463 GB, free: 18.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3784, allocations: 60.75 kB / 0.5464 GB, free: 18.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.3794, allocations: 0.8197 MB / 0.5472 GB, free: 18.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.3795, allocations: 41.42 kB / 0.5472 GB, free: 18.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.3797, allocations: 0.4909 MB / 0.5477 GB, free: 17.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.3799, allocations: 313.4 kB / 0.548 GB, free: 17.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.38, allocations: 28.59 kB / 0.548 GB, free: 17.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3802, allocations: 399.4 kB / 0.5484 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.3808, allocations: 351.9 kB / 0.5487 GB, free: 16.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/0.3815, allocations: 0.6121 MB / 0.5493 GB, free: 16.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.3828, allocations: 0.9962 MB / 0.5503 GB, free: 15.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.3829, allocations: 2.594 kB / 0.5503 GB, free: 15.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002061/0.3849, allocations: 1.178 MB / 0.5515 GB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.385, allocations: 11.03 kB / 0.5515 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.385, allocations: 10.44 kB / 0.5515 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.3853, allocations: 75.19 kB / 0.5516 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/0.3863, allocations: 266.5 kB / 0.5518 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.3879, allocations: 2.626 MB / 0.5544 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009165/0.3888, allocations: 163.2 kB / 0.5545 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3889, allocations: 51.33 kB / 0.5546 GB, free: 12.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004465/0.3894, allocations: 265.5 kB / 0.5548 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3895, allocations: 92.61 kB / 0.5549 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/0.3918, allocations: 1.113 MB / 0.556 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3918, allocations: 9.125 kB / 0.556 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3918, allocations: 5.406 kB / 0.556 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.3918, allocations: 5.203 kB / 0.556 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.3959, allocations: 3.15 MB / 0.5591 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.396, allocations: 6.156 kB / 0.5591 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.3967, allocations: 183.6 kB / 0.5593 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.3969, allocations: 66.97 kB / 0.5593 GB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.3969, allocations: 26.3 kB / 0.5594 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.3983, allocations: 2.621 MB / 0.5619 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.3983, allocations: 7.344 kB / 0.5619 GB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.4003, allocations: 1.485 MB / 0.5634 GB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.4005, allocations: 217.3 kB / 0.5636 GB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4006, allocations: 23.98 kB / 0.5636 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.4012, allocations: 63.02 kB / 0.5637 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.4013, allocations: 88.83 kB / 0.5638 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.4014, allocations: 31.62 kB / 0.5638 GB, free: 5.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006874/0.4021, allocations: 0.5714 MB / 0.5643 GB, free: 5.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 0 / 0.5643 GB, free: 5.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.403, allocations: 309.6 kB / 0.5646 GB, free: 5.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.4033, allocations: 171.8 kB / 0.5648 GB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.4049, allocations: 1.093 MB / 0.5659 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4049, allocations: 7.938 kB / 0.5659 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007011/0.4056, allocations: 0.6223 MB / 0.5665 GB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.4068, allocations: 124.1 kB / 0.5666 GB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.4091, allocations: 2.257 MB / 0.5688 GB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.4095, allocations: 1.008 MB / 0.5698 GB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.4098, allocations: 99.41 kB / 0.5699 GB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4099, allocations: 0 / 0.5699 GB, free: 15.88 MB / 394.7 MB Notification: Performance of Templates: time 0.02246/0.4323, allocations: 21.11 MB / 0.5905 GB, free: 10.74 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches