Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 230.7 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.05 kB / 281.6 MB, free: 5.34 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.2897/0.2897, allocations: 44.16 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.549e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4054/0.5225, allocations: 98.48 MB / 0.5908 GB, free: 14.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.5228, allocations: 79.94 kB / 0.5909 GB, free: 13.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07495/0.5977, allocations: 32.18 MB / 0.6223 GB, free: 13.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.616e-06/0.5978, allocations: 4 kB / 0.6224 GB, free: 13.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.471e-05/0.5978, allocations: 16 kB / 0.6224 GB, free: 13.43 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.002857/0.6007, allocations: 1.237 MB / 0.6236 GB, free: 12.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6007, allocations: 15.98 kB / 0.6236 GB, free: 12.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/0.607, allocations: 0.9391 MB / 0.6245 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6081, allocations: 0.5347 MB / 0.625 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.6082, allocations: 40 kB / 0.6251 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.6083, allocations: 75.98 kB / 0.6251 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/0.6104, allocations: 1.25 MB / 0.6264 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.6119, allocations: 0.8513 MB / 0.6272 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.612, allocations: 7.906 kB / 0.6272 GB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.6121, allocations: 0 / 0.6272 GB, free: 8.359 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.6121, allocations: 31.94 kB / 0.6272 GB, free: 8.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007044/0.6192, allocations: 4.452 MB / 0.6316 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.6206, allocations: 0.8535 MB / 0.6324 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/0.6211, allocations: 311.1 kB / 0.6327 GB, free: 2.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.6212, allocations: 105.9 kB / 0.6328 GB, free: 2.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.6213, allocations: 43.34 kB / 0.6329 GB, free: 2.242 MB / 442.7 MB Notification: Performance of pre-optimization done (n=89): time 3.777e-06/0.6213, allocations: 0 / 0.6329 GB, free: 2.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=89): time 0.001817/0.6231, allocations: 0.8017 MB / 0.6336 GB, free: 1.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6231, allocations: 64.12 kB / 0.6337 GB, free: 1.352 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.6236, allocations: 405.1 kB / 0.6341 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.6237, allocations: 25.7 kB / 0.6341 GB, free: 0.918 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.624, allocations: 490.2 kB / 0.6346 GB, free: 440 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.6242, allocations: 291.6 kB / 0.6349 GB, free: 144 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.6242, allocations: 4 kB / 0.6349 GB, free: 140 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6244, allocations: 374.8 kB / 0.6352 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.6248, allocations: 282.6 kB / 0.6355 GB, free: 15.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.6254, allocations: 0.5053 MB / 0.636 GB, free: 14.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.6269, allocations: 0.619 MB / 0.6366 GB, free: 14.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6269, allocations: 4 kB / 0.6366 GB, free: 14.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002417/0.6293, allocations: 1.212 MB / 0.6378 GB, free: 13.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6294, allocations: 9.094 kB / 0.6378 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.6294, allocations: 8 kB / 0.6378 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/0.6297, allocations: 65.98 kB / 0.6378 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.6306, allocations: 247.7 kB / 0.6381 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.6324, allocations: 2.52 MB / 0.6405 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.6332, allocations: 86.89 kB / 0.6406 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.6333, allocations: 47.98 kB / 0.6407 GB, free: 9.828 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * 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.0001697/0.6334, allocations: 128.6 kB / 0.6408 GB, free: 9.695 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.6335, allocations: 67.25 kB / 0.6409 GB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.6355, allocations: 1.087 MB / 0.6419 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6355, allocations: 8 kB / 0.6419 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6355, allocations: 0 / 0.6419 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6356, allocations: 7.984 kB / 0.6419 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.639, allocations: 2.543 MB / 0.6444 GB, free: 5.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.639, allocations: 7.953 kB / 0.6444 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.6397, allocations: 183.7 kB / 0.6446 GB, free: 5.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.6399, allocations: 58.34 kB / 0.6447 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.64, allocations: 19.98 kB / 0.6447 GB, free: 5.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6417, allocations: 2.52 MB / 0.6471 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.6417, allocations: 4 kB / 0.6471 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.6441, allocations: 1.713 MB / 0.6488 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.6443, allocations: 184 kB / 0.649 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.6444, allocations: 11.94 kB / 0.649 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.645, allocations: 44.03 kB / 0.649 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.6451, allocations: 84.27 kB / 0.6491 GB, free: 420 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.6452, allocations: 35.98 kB / 0.6492 GB, free: 384 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003434/0.6455, allocations: 319 kB / 0.6495 GB, free: 64 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6455, allocations: 0 / 0.6495 GB, free: 64 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009724/0.6465, allocations: 283.1 kB / 0.6497 GB, free: 15.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 90 * 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.0002854/0.6468, allocations: 160.1 kB / 0.6499 GB, free: 15.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.6483, allocations: 0.9361 MB / 0.6508 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.6483, allocations: 8.375 kB / 0.6508 GB, free: 14.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007325/0.6491, allocations: 0.556 MB / 0.6514 GB, free: 14.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.6495, allocations: 67.34 kB / 0.6514 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.6519, allocations: 1.263 MB / 0.6526 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.6525, allocations: 1.011 MB / 0.6536 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005762/0.6531, allocations: 117.6 kB / 0.6537 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.6533, allocations: 67.42 kB / 0.6538 GB, free: 11.43 MB / 474.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6533, allocations: 0 / 0.6538 GB, free: 11.43 MB / 474.7 MB Notification: Performance of Templates: time 0.01359/0.6669, allocations: 7.472 MB / 0.6611 GB, free: 3.996 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches