Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008809/0.0008809, allocations: 92.94 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008793/0.0008794, allocations: 202.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 10.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.19 MB / 345.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1156, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0223/0.1379, allocations: 21.25 MB / 0.4932 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1515, allocations: 5.432 MB / 0.4985 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005421/0.157, allocations: 183.4 kB / 0.4986 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004731/0.1618, allocations: 1.423 MB / 0.5 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007866/0.1696, allocations: 1.947 MB / 0.5019 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005397/0.1751, allocations: 1.763 MB / 0.5036 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2617/0.4367, allocations: 14.46 MB / 0.5178 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05286/0.4896, allocations: 33.49 MB / 0.5505 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01031/0.5, allocations: 5.576 MB / 0.5559 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.5108, allocations: 6.562 MB / 0.5623 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002643/0.5135, allocations: 0.8329 MB / 0.5631 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004817/0.5183, allocations: 1.08 MB / 0.5642 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.5213, allocations: 2.707 MB / 0.5668 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01013/0.5315, allocations: 6.654 MB / 0.5733 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02241/0.5539, allocations: 24.11 MB / 0.5969 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5539, allocations: 0 / 0.5969 GB, free: 14.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.554, allocations: 3.938 kB / 0.5969 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007362/0.5547, allocations: 0 / 0.5969 GB, free: 14.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.04634/0.6011, allocations: 15.52 MB / 0.612 GB, free: 15.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6011, allocations: 8.031 kB / 0.612 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06033/0.6614, allocations: 11.78 MB / 0.6235 GB, free: 3.566 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.6777, allocations: 8.557 MB / 0.6319 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/0.6789, allocations: 1.061 MB / 0.6329 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00494/0.6838, allocations: 1.37 MB / 0.6343 GB, free: 8.938 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05312/0.737, allocations: 23.61 MB / 0.6573 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005575/0.7376, allocations: 27.19 kB / 0.6574 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003754/0.7414, allocations: 0.5638 MB / 0.6579 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007499/0.7421, allocations: 0.7018 MB / 0.6586 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04361/0.7858, allocations: 21.74 MB / 0.6798 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5982/1.384, allocations: 72.93 MB / 0.7511 GB, free: 97.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/1.403, allocations: 28.67 MB / 0.779 GB, free: 72.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006596/1.409, allocations: 4.991 MB / 0.7839 GB, free: 69.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02203/1.431, allocations: 16.52 MB / 0.8 GB, free: 59.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.431, allocations: 84.3 kB / 0.8001 GB, free: 58.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.773e-06/1.431, allocations: 0 / 0.8001 GB, free: 58.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03346/1.465, allocations: 15.86 MB / 0.8156 GB, free: 47.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.465, allocations: 124.7 kB / 0.8157 GB, free: 47.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009035/1.474, allocations: 5.105 MB / 0.8207 GB, free: 41.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009422/1.475, allocations: 97.7 kB / 0.8208 GB, free: 41.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003472/1.478, allocations: 5.893 MB / 0.8266 GB, free: 35.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/1.481, allocations: 1.579 MB / 0.8281 GB, free: 34.35 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009575/1.482, allocations: 0.6035 MB / 0.8287 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.482, allocations: 313.1 kB / 0.829 GB, free: 33.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005918/1.488, allocations: 4.164 MB / 0.8331 GB, free: 29.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006668/1.495, allocations: 7.296 MB / 0.8402 GB, free: 20.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/1.508, allocations: 11.98 MB / 0.8519 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-05/1.508, allocations: 35.38 kB / 0.8519 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02156/1.53, allocations: 13.16 MB / 0.8648 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.163e-05/1.53, allocations: 48 kB / 0.8648 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/1.53, allocations: 104 kB / 0.8649 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00664/1.536, allocations: 3.089 MB / 0.8679 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/1.543, allocations: 1.596 MB / 0.8695 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03287/1.576, allocations: 21.94 MB / 0.8909 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006868/1.582, allocations: 1.083 MB / 0.892 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.584, allocations: 379.9 kB / 0.8924 GB, free: 14.52 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01122/1.595, allocations: 5.387 MB / 0.8976 GB, free: 9.242 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.597, allocations: 0.4938 MB / 0.8981 GB, free: 8.742 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/1.616, allocations: 9.705 MB / 0.9076 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/1.617, allocations: 48 kB / 0.9076 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/1.617, allocations: 0 / 0.9076 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/1.617, allocations: 23.91 kB / 0.9076 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04551/1.662, allocations: 20.84 MB / 0.928 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.319e-05/1.662, allocations: 0 / 0.928 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003598/1.666, allocations: 0.7356 MB / 0.9287 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/1.673, allocations: 2.963 MB / 0.9316 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008006/1.673, allocations: 99.98 kB / 0.9317 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3408/2.014, allocations: 21.7 MB / 0.9529 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/2.014, allocations: 3.5 kB / 0.9529 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02112/2.035, allocations: 14.3 MB / 0.9669 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002951/2.038, allocations: 1.376 MB / 0.9682 GB, free: 208.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/2.039, allocations: 78.05 kB / 0.9683 GB, free: 208.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003188/2.043, allocations: 398 kB / 0.9687 GB, free: 208.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.044, allocations: 381.3 kB / 0.969 GB, free: 208.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/2.044, allocations: 132.8 kB / 0.9692 GB, free: 208.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00481/2.049, allocations: 3.426 MB / 0.9725 GB, free: 207.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/2.049, allocations: 0 / 0.9725 GB, free: 207.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009591/2.058, allocations: 3.433 MB / 0.9758 GB, free: 206.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009482/2.059, allocations: 252.8 kB / 0.9761 GB, free: 206 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01678/2.076, allocations: 11.43 MB / 0.9873 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.076, allocations: 0 / 0.9873 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009496/2.086, allocations: 6.002 MB / 0.9931 GB, free: 198.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/2.092, allocations: 1.198 MB / 0.9943 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04043/2.133, allocations: 29.78 MB / 1.023 GB, free: 169.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008179/2.141, allocations: 8.815 MB / 1.032 GB, free: 160.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/2.143, allocations: 427.4 kB / 1.032 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of SimCode: time 8.71e-07/2.143, allocations: 4 kB / 1.032 GB, free: 160.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.987/3.13, allocations: 385.4 MB / 1.409 GB, free: 193.8 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches