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.00113/0.00113, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 172.4 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4641/0.4641, allocations: 43.57 MB / 314.6 MB, free: 8.719 MB / 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.0005662/0.0005665, allocations: 12 kB / 383.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.15, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.2775/0.4275, allocations: 17.19 MB / 460 MB, free: 36.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.436, allocations: 4.561 MB / 464.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003248/0.4392, allocations: 130.3 kB / 464.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.4421, allocations: 0.8843 MB / 465.6 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.4537, allocations: 1.973 MB / 467.6 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.4597, allocations: 0.9713 MB / 468.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01315/0.4729, allocations: 11.79 MB / 480.3 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04146/0.5144, allocations: 21.34 MB / 0.4899 GB, free: 22.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/0.5247, allocations: 4.601 MB / 0.4944 GB, free: 20.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0128/0.5375, allocations: 5.294 MB / 0.4996 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005397/0.543, allocations: 0.6851 MB / 0.5002 GB, free: 17.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008361/0.5514, allocations: 0.8645 MB / 0.5011 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005025/0.5564, allocations: 2.346 MB / 0.5034 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005688/0.5621, allocations: 2.363 MB / 0.5057 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02217/0.5843, allocations: 19.85 MB / 0.5251 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.5844, allocations: 4 kB / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5844, allocations: 0 / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001064/0.5855, allocations: 4 kB / 0.5251 GB, free: 12.73 MB / 398.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.03518/0.6207, allocations: 12.15 MB / 0.5369 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6208, allocations: 8.031 kB / 0.5369 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06208/0.6829, allocations: 12.47 MB / 0.5491 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01627/0.6992, allocations: 6.494 MB / 0.5555 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/0.7004, allocations: 0.907 MB / 0.5563 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004463/0.7049, allocations: 1.195 MB / 0.5575 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/0.7596, allocations: 18.96 MB / 0.576 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005993/0.7602, allocations: 23.8 kB / 0.5761 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003609/0.7639, allocations: 0.4921 MB / 0.5765 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007593/0.7646, allocations: 0.6817 MB / 0.5772 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0444/0.809, allocations: 19.75 MB / 0.5965 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5857/1.395, allocations: 62.36 MB / 0.6574 GB, free: 88.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02447/1.419, allocations: 20.13 MB / 0.677 GB, free: 77.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008587/1.428, allocations: 4.604 MB / 0.6815 GB, free: 76.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/1.429, allocations: 240.3 kB / 0.6818 GB, free: 76.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.65e-05/1.429, allocations: 115.1 kB / 0.6819 GB, free: 76.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 8.856e-06/1.429, allocations: 1.25 kB / 0.6819 GB, free: 76.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.03168/1.461, allocations: 12.51 MB / 0.6941 GB, free: 71.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.461, allocations: 119.8 kB / 0.6942 GB, free: 71.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02534/1.486, allocations: 8.668 MB / 0.7027 GB, free: 68.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00171/1.488, allocations: 133.2 kB / 0.7028 GB, free: 68.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006826/1.495, allocations: 4.608 MB / 0.7073 GB, free: 65.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003646/1.498, allocations: 2.259 MB / 0.7095 GB, free: 63.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/1.5, allocations: 163.1 kB / 0.7097 GB, free: 63.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000871/1.501, allocations: 0.6333 MB / 0.7103 GB, free: 62.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009355/1.51, allocations: 4.168 MB / 0.7143 GB, free: 61.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.521, allocations: 7.202 MB / 0.7214 GB, free: 56.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/1.531, allocations: 5.726 MB / 0.727 GB, free: 53.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.532, allocations: 30.78 kB / 0.727 GB, free: 53.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02612/1.558, allocations: 12.35 MB / 0.739 GB, free: 46.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/1.558, allocations: 49.66 kB / 0.7391 GB, free: 46.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002895/1.558, allocations: 100.1 kB / 0.7392 GB, free: 46.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/1.56, allocations: 435.5 kB / 0.7396 GB, free: 46.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008382/1.568, allocations: 2.092 MB / 0.7417 GB, free: 46.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005682/1.574, allocations: 8.94 MB / 0.7504 GB, free: 36.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008454/1.582, allocations: 1.4 MB / 0.7517 GB, free: 35.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/1.585, allocations: 399.9 kB / 0.7521 GB, free: 35.12 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01117/1.596, allocations: 4.663 MB / 0.7567 GB, free: 30.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/1.598, allocations: 0.7137 MB / 0.7574 GB, free: 29.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01947/1.617, allocations: 11.05 MB / 0.7682 GB, free: 18.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/1.618, allocations: 68 kB / 0.7682 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/1.618, allocations: 4 kB / 0.7682 GB, free: 18.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001122/1.618, allocations: 35.86 kB / 0.7683 GB, free: 18.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4307/2.048, allocations: 159.2 MB / 0.9237 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003116/2.049, allocations: 84 kB / 0.9238 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005627/2.054, allocations: 1.573 MB / 0.9253 GB, free: 107.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009574/2.055, allocations: 400.8 kB / 0.9257 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.057, allocations: 248 kB / 0.9259 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004668/2.061, allocations: 8.799 MB / 0.9345 GB, free: 96.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-05/2.061, allocations: 138.8 kB / 0.9347 GB, free: 96.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02147/2.083, allocations: 18.79 MB / 0.953 GB, free: 76.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005879/2.089, allocations: 2.056 MB / 0.955 GB, free: 74.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002713/2.092, allocations: 251.9 kB / 0.9553 GB, free: 74.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006152/2.098, allocations: 0.5659 MB / 0.9558 GB, free: 73.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/2.099, allocations: 0.7423 MB / 0.9565 GB, free: 72.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/2.1, allocations: 316 kB / 0.9568 GB, free: 72.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01063/2.111, allocations: 6.058 MB / 0.9628 GB, free: 66.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/2.111, allocations: 0 / 0.9628 GB, free: 66.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01161/2.123, allocations: 2.679 MB / 0.9654 GB, free: 63.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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.00226/2.125, allocations: 0.4963 MB / 0.9659 GB, free: 63.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01731/2.142, allocations: 10.57 MB / 0.9762 GB, free: 52.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.988e-05/2.143, allocations: 16 kB / 0.9762 GB, free: 52.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009556/2.152, allocations: 5.503 MB / 0.9816 GB, free: 46.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0162/2.168, allocations: 1.486 MB / 0.983 GB, free: 45.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05404/2.222, allocations: 28.5 MB / 1.011 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0191/2.242, allocations: 7.884 MB / 1.019 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01531/2.257, allocations: 3.661 MB / 1.022 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004454/2.261, allocations: 0.597 MB / 1.023 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of SimCode: time 1.293e-06/2.261, allocations: 0 / 1.023 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.5641/2.826, allocations: 97.26 MB / 1.118 GB, free: 118.2 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches