Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108.2 kB / 18.39 MB, free: 4.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 187 kB / 19.33 MB, free: 3.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 243 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2789/0.2789, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 57.66 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1762, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02238/0.1987, allocations: 19.74 MB / 490.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.2137, allocations: 4.908 MB / 495.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.22, allocations: 159.5 kB / 495.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01911/0.2392, allocations: 7.77 MB / 0.4915 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.2528, allocations: 2.2 MB / 0.4936 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007225/0.2601, allocations: 1.271 MB / 0.4949 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.435/0.6951, allocations: 12.14 MB / 0.5067 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04762/0.7428, allocations: 26.07 MB / 0.5322 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01516/0.758, allocations: 6.51 MB / 0.5385 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01987/0.778, allocations: 7.261 MB / 0.5456 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006647/0.7847, allocations: 1.723 MB / 0.5473 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008338/0.793, allocations: 1.917 MB / 0.5492 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007099/0.8002, allocations: 3.651 MB / 0.5527 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01545/0.8157, allocations: 7.009 MB / 0.5596 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0336/0.8493, allocations: 23.6 MB / 0.5826 GB, free: 9.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.8494, allocations: 7.922 kB / 0.5827 GB, free: 9.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.8494, allocations: 0 / 0.5827 GB, free: 9.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008378/0.8502, allocations: 0 / 0.5827 GB, free: 9.262 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.05135/0.9016, allocations: 14.56 MB / 0.5969 GB, free: 10.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.9017, allocations: 8.031 kB / 0.5969 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06084/0.9625, allocations: 11.44 MB / 0.6081 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/0.981, allocations: 7.318 MB / 0.6152 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001318/0.9824, allocations: 0.888 MB / 0.6161 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007349/0.9898, allocations: 1.177 MB / 0.6172 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05441/1.044, allocations: 18.55 MB / 0.6353 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006986/1.045, allocations: 15.89 kB / 0.6354 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005225/1.05, allocations: 0.4888 MB / 0.6358 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008854/1.051, allocations: 0.6539 MB / 0.6365 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04966/1.101, allocations: 19.08 MB / 0.6551 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7438/1.845, allocations: 59.97 MB / 0.7137 GB, free: 143 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/1.865, allocations: 16.6 MB / 0.7299 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007445/1.873, allocations: 4.519 MB / 0.7343 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/1.873, allocations: 238 kB / 0.7345 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/1.874, allocations: 113.9 kB / 0.7346 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 7.204e-06/1.874, allocations: 0 / 0.7346 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02166/1.895, allocations: 12.35 MB / 0.7467 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/1.895, allocations: 124.7 kB / 0.7468 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01666/1.912, allocations: 8.602 MB / 0.7552 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001672/1.914, allocations: 132.3 kB / 0.7553 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/1.918, allocations: 4.489 MB / 0.7597 GB, free: 125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002794/1.92, allocations: 2.192 MB / 0.7618 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003136/1.923, allocations: 1.435 MB / 0.7632 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.924, allocations: 305.1 kB / 0.7635 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00599/1.93, allocations: 4.11 MB / 0.7675 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/1.941, allocations: 6.904 MB / 0.7743 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/1.956, allocations: 11.93 MB / 0.7859 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/1.957, allocations: 23.19 kB / 0.786 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0205/1.977, allocations: 12 MB / 0.7977 GB, free: 95.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/1.977, allocations: 48 kB / 0.7977 GB, free: 95.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/1.977, allocations: 92 kB / 0.7978 GB, free: 94.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/1.978, allocations: 412.8 kB / 0.7982 GB, free: 94.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/1.986, allocations: 1.997 MB / 0.8002 GB, free: 92.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/1.991, allocations: 9.591 MB / 0.8095 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007845/1.999, allocations: 1.35 MB / 0.8108 GB, free: 80.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/2.001, allocations: 372 kB / 0.8112 GB, free: 80.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.008662/2.009, allocations: 4.582 MB / 0.8157 GB, free: 75.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/2.011, allocations: 0.702 MB / 0.8164 GB, free: 75.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/2.027, allocations: 10.6 MB / 0.8267 GB, free: 64.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/2.028, allocations: 68 kB / 0.8268 GB, free: 64.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/2.028, allocations: 4 kB / 0.8268 GB, free: 64.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/2.028, allocations: 31.88 kB / 0.8268 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4755/2.503, allocations: 156.5 MB / 0.9796 GB, free: 158.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002183/2.503, allocations: 84 kB / 0.9797 GB, free: 158.4 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00604/2.509, allocations: 1.544 MB / 0.9812 GB, free: 156.8 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/2.51, allocations: 373.8 kB / 0.9816 GB, free: 156.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/2.512, allocations: 253.6 kB / 0.9818 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006337/2.518, allocations: 9.458 MB / 0.9911 GB, free: 146 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.164e-05/2.518, allocations: 135.4 kB / 0.9912 GB, free: 145.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02726/2.545, allocations: 18.53 MB / 1.009 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007198/2.553, allocations: 2.011 MB / 1.011 GB, free: 123.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003119/2.556, allocations: 239.9 kB / 1.011 GB, free: 123.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006853/2.563, allocations: 0.558 MB / 1.012 GB, free: 122.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00211/2.565, allocations: 0.7301 MB / 1.013 GB, free: 122.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009694/2.566, allocations: 308 kB / 1.013 GB, free: 121.9 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01068/2.577, allocations: 6.047 MB / 1.019 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.21e-07/2.577, allocations: 0 / 1.019 GB, free: 115.8 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01237/2.589, allocations: 2.617 MB / 1.021 GB, free: 113.2 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.002633/2.592, allocations: 0.4933 MB / 1.022 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01795/2.61, allocations: 10.6 MB / 1.032 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 0.000138/2.61, allocations: 18.84 kB / 1.032 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008641/2.618, allocations: 5.433 MB / 1.038 GB, free: 96.56 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/2.631, allocations: 1.491 MB / 1.039 GB, free: 95.12 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03903/2.67, allocations: 24.63 MB / 1.063 GB, free: 69.27 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01382/2.684, allocations: 7.777 MB / 1.071 GB, free: 61.45 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01143/2.695, allocations: 3.566 MB / 1.074 GB, free: 57.87 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003155/2.698, allocations: 0.5775 MB / 1.075 GB, free: 57.29 MB / 0.5607 GB Notification: Performance of SimCode: time 2.054e-06/2.699, allocations: 3.938 kB / 1.075 GB, free: 57.29 MB / 0.5607 GB Notification: Performance of Templates: time 0.4544/3.153, allocations: 93.49 MB / 1.166 GB, free: 155.9 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches