Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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 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 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 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.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 112.9 kB / 17.09 MB, free: 5.984 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.001803/0.001803, allocations: 200.2 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2296/0.2296, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02234/0.1596, allocations: 19.9 MB / 0.508 GB, free: 7.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.1743, allocations: 4.935 MB / 0.5128 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00582/0.1802, allocations: 135.6 kB / 0.5129 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01812/0.1984, allocations: 7.81 MB / 0.5206 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009951/0.2083, allocations: 2.309 MB / 0.5228 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.2137, allocations: 1.269 MB / 0.5241 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3363/0.55, allocations: 12.36 MB / 0.5361 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04231/0.5923, allocations: 26.14 MB / 0.5617 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.6053, allocations: 6.621 MB / 0.5681 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/0.6211, allocations: 7.326 MB / 0.5753 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007597/0.6287, allocations: 1.738 MB / 0.577 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.639, allocations: 1.932 MB / 0.5789 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01404/0.6531, allocations: 4.033 MB / 0.5828 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02226/0.6754, allocations: 7.152 MB / 0.5898 GB, free: 9.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04202/0.7175, allocations: 23.68 MB / 0.6129 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.7175, allocations: 0 / 0.6129 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7176, allocations: 0 / 0.6129 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008272/0.7184, allocations: 0 / 0.6129 GB, free: 3.77 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05383/0.7722, allocations: 14.8 MB / 0.6274 GB, free: 4.996 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.7723, allocations: 15.89 kB / 0.6274 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06663/0.839, allocations: 12.42 MB / 0.6395 GB, free: 8.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/0.8585, allocations: 6.611 MB / 0.646 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.8596, allocations: 0.9014 MB / 0.6468 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006005/0.8656, allocations: 1.192 MB / 0.648 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0558/0.9214, allocations: 19.05 MB / 0.6666 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004779/0.9219, allocations: 19.81 kB / 0.6666 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004641/0.9266, allocations: 0.493 MB / 0.6671 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007533/0.9274, allocations: 0.6856 MB / 0.6678 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04446/0.9718, allocations: 19.83 MB / 0.6871 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1436/1.115, allocations: 61.52 MB / 0.7472 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5777/1.693, allocations: 20.18 MB / 0.7669 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00946/1.703, allocations: 4.629 MB / 0.7714 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/1.703, allocations: 236.5 kB / 0.7717 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/1.703, allocations: 110.5 kB / 0.7718 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 9.979e-06/1.703, allocations: 0.6562 kB / 0.7718 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02462/1.728, allocations: 12.54 MB / 0.784 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/1.728, allocations: 119.6 kB / 0.7841 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/1.742, allocations: 8.725 MB / 0.7927 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.743, allocations: 133.2 kB / 0.7928 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002691/1.745, allocations: 4.602 MB / 0.7973 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.748, allocations: 2.269 MB / 0.7995 GB, free: 159.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/1.749, allocations: 1.507 MB / 0.801 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.817e-05/1.75, allocations: 305.1 kB / 0.8013 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.755, allocations: 4.198 MB / 0.8054 GB, free: 157 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00656/1.762, allocations: 7.233 MB / 0.8124 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/1.775, allocations: 12.4 MB / 0.8245 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/1.775, allocations: 26.31 kB / 0.8246 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01756/1.793, allocations: 12.4 MB / 0.8367 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/1.793, allocations: 48 kB / 0.8367 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/1.793, allocations: 96 kB / 0.8368 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008741/1.794, allocations: 426 kB / 0.8372 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006947/1.801, allocations: 2.093 MB / 0.8393 GB, free: 136.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/1.806, allocations: 9.599 MB / 0.8486 GB, free: 126.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007139/1.813, allocations: 1.396 MB / 0.85 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.815, allocations: 406.9 kB / 0.8504 GB, free: 124.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.006766/1.821, allocations: 4.652 MB / 0.8549 GB, free: 121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.823, allocations: 0.7136 MB / 0.8556 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.837, allocations: 11.05 MB / 0.8664 GB, free: 109.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.116e-05/1.837, allocations: 35.86 kB / 0.8665 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.837, allocations: 0 / 0.8665 GB, free: 109.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004862/1.842, allocations: 1.9 MB / 0.8683 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/1.844, allocations: 112 kB / 0.8684 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0045/1.848, allocations: 0.5109 MB / 0.8689 GB, free: 106.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007636/1.849, allocations: 401 kB / 0.8693 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01456/1.864, allocations: 9.198 MB / 0.8783 GB, free: 97.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01697/1.881, allocations: 14.21 MB / 0.8922 GB, free: 82.74 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00502/1.886, allocations: 3.987 MB / 0.896 GB, free: 78.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009448/1.895, allocations: 6.121 MB / 0.902 GB, free: 72.63 MB / 0.5919 GB Notification: Performance of Backend: time 8.31e-07/1.895, allocations: 0 / 0.902 GB, free: 72.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01551/1.911, allocations: 7.195 MB / 0.9091 GB, free: 65.39 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03645/1.947, allocations: 19.93 MB / 0.9285 GB, free: 45.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.4333/2.38, allocations: 114.2 MB / 1.04 GB, free: 174.5 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches