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.001494/0.001499, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001443, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.1 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 72.09 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1419, allocations: 62.45 MB / 480.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02233/0.1643, allocations: 22.32 MB / 0.4907 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1758, allocations: 5.455 MB / 0.496 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004913/0.1808, allocations: 191.4 kB / 0.4962 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02228/0.2031, allocations: 8.994 MB / 0.505 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2079/0.4111, allocations: 1.914 MB / 0.5069 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.4156, allocations: 1.769 MB / 0.5086 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.4299, allocations: 14.37 MB / 0.5226 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04668/0.4766, allocations: 39.39 MB / 0.5611 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/0.4888, allocations: 8.069 MB / 0.569 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.5019, allocations: 8.811 MB / 0.5776 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005289/0.5072, allocations: 2.102 MB / 0.5796 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007279/0.5145, allocations: 2.356 MB / 0.5819 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005546/0.52, allocations: 4.32 MB / 0.5861 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01388/0.5339, allocations: 8.426 MB / 0.5944 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02592/0.5599, allocations: 24.98 MB / 0.6188 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5599, allocations: 0 / 0.6188 GB, free: 4.266 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.56, allocations: 0 / 0.6188 GB, free: 4.266 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007177/0.5607, allocations: 0 / 0.6188 GB, free: 4.266 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: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.05716/0.6179, allocations: 18.7 MB / 0.637 GB, free: 1.648 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6179, allocations: 8.031 kB / 0.637 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06109/0.679, allocations: 11.7 MB / 0.6485 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.697, allocations: 8.56 MB / 0.6568 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.6982, allocations: 1.054 MB / 0.6579 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005263/0.7034, allocations: 1.377 MB / 0.6592 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06039/0.7638, allocations: 23.58 MB / 0.6822 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/0.7643, allocations: 27.8 kB / 0.6823 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003469/0.7678, allocations: 0.5688 MB / 0.6828 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006747/0.7685, allocations: 0.6978 MB / 0.6835 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4213/1.19, allocations: 21.69 MB / 0.7047 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1056/1.295, allocations: 72.7 MB / 0.7757 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.314, allocations: 28.66 MB / 0.8036 GB, free: 77.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006691/1.32, allocations: 4.958 MB / 0.8085 GB, free: 72.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.021/1.341, allocations: 16.49 MB / 0.8246 GB, free: 55.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.342, allocations: 93.98 kB / 0.8247 GB, free: 55.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.352e-06/1.342, allocations: 0 / 0.8247 GB, free: 55.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03048/1.372, allocations: 15.71 MB / 0.84 GB, free: 40.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.372, allocations: 124.7 kB / 0.8401 GB, free: 39.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006367/1.378, allocations: 5.105 MB / 0.8451 GB, free: 34.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000852/1.379, allocations: 101.7 kB / 0.8452 GB, free: 34.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.382, allocations: 5.886 MB / 0.851 GB, free: 28.74 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.383, allocations: 1.589 MB / 0.8525 GB, free: 27.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/1.385, allocations: 1.531 MB / 0.854 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.834e-05/1.385, allocations: 305.1 kB / 0.8543 GB, free: 25.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.39, allocations: 4.144 MB / 0.8583 GB, free: 21.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005982/1.396, allocations: 7.264 MB / 0.8654 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.408, allocations: 11.92 MB / 0.8771 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.987e-05/1.408, allocations: 32 kB / 0.8771 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02161/1.429, allocations: 13.11 MB / 0.8899 GB, free: 1.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/1.429, allocations: 48 kB / 0.89 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.43, allocations: 104 kB / 0.8901 GB, free: 1.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/1.436, allocations: 3.106 MB / 0.8931 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.442, allocations: 1.591 MB / 0.8947 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007681/1.443, allocations: 339 kB / 0.895 GB, free: 12.71 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006294/1.449, allocations: 1.061 MB / 0.896 GB, free: 11.63 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.45, allocations: 392 kB / 0.8964 GB, free: 11.25 MB / 0.5607 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.01017/1.461, allocations: 5.391 MB / 0.9017 GB, free: 5.844 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.462, allocations: 0.4976 MB / 0.9021 GB, free: 5.34 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/1.477, allocations: 9.631 MB / 0.9115 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/1.477, allocations: 52 kB / 0.9116 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.477, allocations: 0 / 0.9116 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/1.477, allocations: 23.91 kB / 0.9116 GB, free: 11.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2588/1.736, allocations: 20.8 MB / 0.9319 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.736, allocations: 0.7969 kB / 0.9319 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/1.74, allocations: 0.7362 MB / 0.9326 GB, free: 188.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007366/1.747, allocations: 2.977 MB / 0.9356 GB, free: 187.9 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007743/1.748, allocations: 97.44 kB / 0.9356 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007019/1.749, allocations: 147.5 kB / 0.9358 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.749, allocations: 1.25 kB / 0.9358 GB, free: 187.8 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/1.77, allocations: 14.21 MB / 0.9497 GB, free: 182.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/1.773, allocations: 1.365 MB / 0.951 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009713/1.774, allocations: 79.39 kB / 0.9511 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002802/1.777, allocations: 380.2 kB / 0.9514 GB, free: 182 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006727/1.777, allocations: 316.4 kB / 0.9517 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.778, allocations: 123 kB / 0.9519 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004644/1.782, allocations: 3.424 MB / 0.9552 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.61e-07/1.782, allocations: 0.7812 kB / 0.9552 GB, free: 180.7 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007224/1.79, allocations: 3.191 MB / 0.9583 GB, free: 179.7 MB / 0.5763 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.0008449/1.791, allocations: 257.7 kB / 0.9586 GB, free: 179.6 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.03754/1.828, allocations: 19.62 MB / 0.9777 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.828, allocations: 8 kB / 0.9777 GB, free: 167.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008024/1.836, allocations: 4.451 MB / 0.9821 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/1.843, allocations: 1.263 MB / 0.9833 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03999/1.883, allocations: 29.64 MB / 1.012 GB, free: 135.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009917/1.893, allocations: 8.714 MB / 1.021 GB, free: 128.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/1.895, allocations: 435.4 kB / 1.021 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of SimCode: time 7.71e-07/1.895, allocations: 0 / 1.021 GB, free: 127.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.8567/2.752, allocations: 382.1 MB / 1.394 GB, free: 186.4 MB / 0.5919 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