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.0009277/0.0009278, allocations: 199 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007209/0.000721, allocations: 95.47 kB / 295.1 MB, free: 10 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1735/0.1735, allocations: 44.84 MB / 392 MB, free: 9.266 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 11.98 kB / 464.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 62.95 MB / 0.5153 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.193/0.2951, allocations: 6.435 MB / 0.5216 GB, free: 9.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.2984, allocations: 2.167 MB / 0.5237 GB, free: 7.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.2988, allocations: 27.16 kB / 0.5238 GB, free: 7.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.2994, allocations: 255.5 kB / 0.524 GB, free: 7.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.3006, allocations: 0.5868 MB / 0.5246 GB, free: 7.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3017, allocations: 0.6113 MB / 0.5252 GB, free: 6.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009116/0.3026, allocations: 1.131 MB / 0.5263 GB, free: 6.305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.3049, allocations: 1.515 MB / 0.5278 GB, free: 5.395 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.3055, allocations: 428.3 kB / 0.5282 GB, free: 5.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.306, allocations: 0.5591 MB / 0.5287 GB, free: 4.957 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3061, allocations: 56.38 kB / 0.5288 GB, free: 4.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.3067, allocations: 232.1 kB / 0.529 GB, free: 4.895 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3068, allocations: 202.5 kB / 0.5292 GB, free: 4.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.307, allocations: 229.9 kB / 0.5294 GB, free: 4.629 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3084, allocations: 1.203 MB / 0.5306 GB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3084, allocations: 3.938 kB / 0.5306 GB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3085, allocations: 5.062 kB / 0.5306 GB, free: 4.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3085, allocations: 0 / 0.5306 GB, free: 4.289 MB / 346.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.003521/0.312, allocations: 1.576 MB / 0.5321 GB, free: 3.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.312, allocations: 8.969 kB / 0.5321 GB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008776/0.3208, allocations: 1.345 MB / 0.5334 GB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.3217, allocations: 0.5455 MB / 0.534 GB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.3217, allocations: 99.61 kB / 0.5341 GB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.3219, allocations: 135.3 kB / 0.5342 GB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.3241, allocations: 1.228 MB / 0.5354 GB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.3242, allocations: 10.8 kB / 0.5354 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.3243, allocations: 51.78 kB / 0.5355 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.3243, allocations: 36.42 kB / 0.5355 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.3266, allocations: 1.446 MB / 0.5369 GB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007832/0.3344, allocations: 5.874 MB / 0.5426 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3363, allocations: 0.9404 MB / 0.5436 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.3369, allocations: 373.9 kB / 0.5439 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.3371, allocations: 186.8 kB / 0.5441 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3371, allocations: 44.84 kB / 0.5441 GB, free: 12.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=90): time 2.554e-06/0.3372, allocations: 0 / 0.5441 GB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=90): time 0.00225/0.3394, allocations: 1.216 MB / 0.5453 GB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3395, allocations: 61.78 kB / 0.5454 GB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3405, allocations: 0.8182 MB / 0.5462 GB, free: 10.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.3406, allocations: 41.45 kB / 0.5462 GB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.3409, allocations: 0.4958 MB / 0.5467 GB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3411, allocations: 311.8 kB / 0.547 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.3412, allocations: 21.44 kB / 0.547 GB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3414, allocations: 398 kB / 0.5474 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.342, allocations: 349 kB / 0.5477 GB, free: 9.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.3428, allocations: 0.6134 MB / 0.5483 GB, free: 9.043 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.3436, allocations: 443.5 kB / 0.5488 GB, free: 8.812 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3436, allocations: 3.062 kB / 0.5488 GB, free: 8.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001918/0.3455, allocations: 1.185 MB / 0.5499 GB, free: 8.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3455, allocations: 12.19 kB / 0.5499 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3456, allocations: 12.23 kB / 0.5499 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.3458, allocations: 73.45 kB / 0.55 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.3468, allocations: 262.9 kB / 0.5503 GB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.3486, allocations: 2.63 MB / 0.5528 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009118/0.3496, allocations: 157.2 kB / 0.553 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.3496, allocations: 50.27 kB / 0.553 GB, free: 5.25 MB / 362.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.0004237/0.3501, allocations: 266.7 kB / 0.5533 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.3502, allocations: 96.34 kB / 0.5534 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.352, allocations: 1.114 MB / 0.5545 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.352, allocations: 10.97 kB / 0.5545 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.352, allocations: 0 / 0.5545 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.352, allocations: 7.938 kB / 0.5545 GB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.3558, allocations: 3.157 MB / 0.5576 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/0.3558, allocations: 8 kB / 0.5576 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.3565, allocations: 176.6 kB / 0.5577 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.3567, allocations: 69.61 kB / 0.5578 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.3568, allocations: 28 kB / 0.5578 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.3585, allocations: 2.619 MB / 0.5604 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3585, allocations: 8 kB / 0.5604 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.3605, allocations: 1.483 MB / 0.5618 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.3608, allocations: 223.6 kB / 0.5621 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.361, allocations: 27.98 kB / 0.5621 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.3616, allocations: 52.05 kB / 0.5621 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3617, allocations: 80.31 kB / 0.5622 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.3618, allocations: 36 kB / 0.5622 GB, free: 11.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000664/0.3625, allocations: 0.5732 MB / 0.5628 GB, free: 11.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3625, allocations: 0 / 0.5628 GB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000956/0.3634, allocations: 303.5 kB / 0.5631 GB, free: 10.83 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.0002606/0.3637, allocations: 175 kB / 0.5633 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3654, allocations: 1.093 MB / 0.5643 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3654, allocations: 0 / 0.5643 GB, free: 9.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.3662, allocations: 0.6283 MB / 0.5649 GB, free: 8.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007933/0.367, allocations: 130.5 kB / 0.5651 GB, free: 8.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.37, allocations: 2.246 MB / 0.5673 GB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3705, allocations: 1.016 MB / 0.5682 GB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.3708, allocations: 95.41 kB / 0.5683 GB, free: 5.27 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3708, allocations: 4 kB / 0.5683 GB, free: 5.266 MB / 378.7 MB Notification: Performance of Templates: time 0.02298/0.3938, allocations: 21.15 MB / 0.589 GB, free: 92 kB / 394.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