Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.000808, allocations: 93.39 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3788/0.3788, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5651, allocations: 96.97 MB / 0.5747 GB, free: 5.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5655, allocations: 83.95 kB / 0.5747 GB, free: 4.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08114/0.6467, allocations: 33.06 MB / 0.607 GB, free: 3.586 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.6467, allocations: 0 / 0.607 GB, free: 3.586 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.99e-05/0.6468, allocations: 20 kB / 0.607 GB, free: 3.566 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003902/0.6507, allocations: 1.294 MB / 0.6083 GB, free: 2.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.6508, allocations: 8.031 kB / 0.6083 GB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/0.6576, allocations: 1.026 MB / 0.6093 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.659, allocations: 0.5677 MB / 0.6099 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.6591, allocations: 94.48 kB / 0.61 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/0.6595, allocations: 120 kB / 0.6101 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.6623, allocations: 1.185 MB / 0.6112 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.6623, allocations: 3.906 kB / 0.6112 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.6625, allocations: 52 kB / 0.6113 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.6625, allocations: 32 kB / 0.6113 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.6652, allocations: 1.45 MB / 0.6127 GB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.6737, allocations: 4.88 MB / 0.6175 GB, free: 8.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.6756, allocations: 1.19 MB / 0.6187 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.6763, allocations: 371.7 kB / 0.619 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.6764, allocations: 98.08 kB / 0.6191 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6764, allocations: 47.5 kB / 0.6191 GB, free: 6.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=91): time 3.026e-06/0.6764, allocations: 0 / 0.6191 GB, free: 6.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=91): time 0.002287/0.6787, allocations: 1.202 MB / 0.6203 GB, free: 5.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6788, allocations: 64.41 kB / 0.6204 GB, free: 5.301 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6799, allocations: 0.7933 MB / 0.6212 GB, free: 4.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.68, allocations: 41.7 kB / 0.6212 GB, free: 4.453 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.6803, allocations: 478.7 kB / 0.6217 GB, free: 3.977 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.6806, allocations: 319.4 kB / 0.622 GB, free: 3.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.6807, allocations: 24 kB / 0.622 GB, free: 3.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.6809, allocations: 406.6 kB / 0.6224 GB, free: 3.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.6816, allocations: 342.5 kB / 0.6227 GB, free: 2.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.6824, allocations: 0.6022 MB / 0.6233 GB, free: 2.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.6839, allocations: 0.975 MB / 0.6242 GB, free: 1.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.684, allocations: 4 kB / 0.6242 GB, free: 1.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00221/0.6862, allocations: 1.162 MB / 0.6254 GB, free: 15.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6862, allocations: 11.98 kB / 0.6254 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.6863, allocations: 8 kB / 0.6254 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.6866, allocations: 73.97 kB / 0.6255 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6876, allocations: 263.6 kB / 0.6257 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.6897, allocations: 2.631 MB / 0.6283 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.6907, allocations: 154.3 kB / 0.6284 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6908, allocations: 44 kB / 0.6285 GB, free: 12.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0004822/0.6913, allocations: 257.6 kB / 0.6287 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.6915, allocations: 94.86 kB / 0.6288 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.6934, allocations: 1.103 MB / 0.6299 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6934, allocations: 15.94 kB / 0.6299 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6934, allocations: 0 / 0.6299 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.6935, allocations: 7.969 kB / 0.6299 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.6976, allocations: 2.722 MB / 0.6326 GB, free: 8.012 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6976, allocations: 4.781 kB / 0.6326 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.6983, allocations: 183.7 kB / 0.6327 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.6986, allocations: 61.67 kB / 0.6328 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.769e-05/0.6986, allocations: 28 kB / 0.6328 GB, free: 7.734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/0.7006, allocations: 2.627 MB / 0.6354 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7007, allocations: 11.94 kB / 0.6354 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.7029, allocations: 1.472 MB / 0.6368 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.7033, allocations: 223.6 kB / 0.6371 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.7035, allocations: 20 kB / 0.6371 GB, free: 2.996 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.7042, allocations: 60.03 kB / 0.6371 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.7043, allocations: 88.38 kB / 0.6372 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.7044, allocations: 28 kB / 0.6372 GB, free: 2.824 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007936/0.7052, allocations: 0.5654 MB / 0.6378 GB, free: 2.262 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7052, allocations: 0 / 0.6378 GB, free: 2.262 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00111/0.7063, allocations: 291.5 kB / 0.6381 GB, free: 1.977 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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.0003576/0.7067, allocations: 183 kB / 0.6383 GB, free: 1.785 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.7087, allocations: 1.083 MB / 0.6393 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.7087, allocations: 1.938 kB / 0.6393 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.7096, allocations: 0.6269 MB / 0.6399 GB, free: 32 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.7111, allocations: 127.9 kB / 0.64 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.7149, allocations: 2.184 MB / 0.6422 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.7156, allocations: 1 MB / 0.6432 GB, free: 12.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007337/0.7163, allocations: 155.6 kB / 0.6433 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.7165, allocations: 83.42 kB / 0.6434 GB, free: 12.35 MB / 474.7 MB Notification: Performance of SimCode: time 3.5e-07/0.7166, allocations: 0 / 0.6434 GB, free: 12.35 MB / 474.7 MB Notification: Performance of Templates: time 0.02018/0.7367, allocations: 9.615 MB / 0.6528 GB, free: 2.785 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches