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.001534/0.001534, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2547/0.2547, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 85.28 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1835, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02586/0.2095, allocations: 22.74 MB / 0.4911 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2252, allocations: 5.518 MB / 0.4965 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006916/0.2322, allocations: 195.4 kB / 0.4966 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3641/0.5963, allocations: 9.47 MB / 0.5059 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01182/0.6082, allocations: 2.142 MB / 0.508 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007599/0.6158, allocations: 1.9 MB / 0.5098 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02905/0.6449, allocations: 14.36 MB / 0.5239 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06745/0.7124, allocations: 34.45 MB / 0.5575 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02211/0.7346, allocations: 7.968 MB / 0.5653 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02128/0.7559, allocations: 8.742 MB / 0.5738 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00943/0.7654, allocations: 2.098 MB / 0.5759 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.7796, allocations: 2.354 MB / 0.5782 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01177/0.7914, allocations: 4.322 MB / 0.5824 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02513/0.8166, allocations: 8.431 MB / 0.5906 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04613/0.8628, allocations: 28.52 MB / 0.6185 GB, free: 4.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.8628, allocations: 3.984 kB / 0.6185 GB, free: 4.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.8628, allocations: 0 / 0.6185 GB, free: 4.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001329/0.8642, allocations: 0 / 0.6185 GB, free: 4.664 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.07179/0.936, allocations: 18.7 MB / 0.6367 GB, free: 2.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.9361, allocations: 15.97 kB / 0.6368 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06518/1.001, allocations: 11.41 MB / 0.6479 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/1.028, allocations: 8.582 MB / 0.6563 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/1.03, allocations: 1.054 MB / 0.6573 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007847/1.037, allocations: 1.375 MB / 0.6587 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08118/1.119, allocations: 23.63 MB / 0.6817 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008581/1.12, allocations: 23.81 kB / 0.6818 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00636/1.126, allocations: 0.5669 MB / 0.6823 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000878/1.127, allocations: 0.7056 MB / 0.683 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5947/1.722, allocations: 21.73 MB / 0.7042 GB, free: 150 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/1.844, allocations: 72.74 MB / 0.7753 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/1.863, allocations: 28.7 MB / 0.8033 GB, free: 77.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007456/1.87, allocations: 4.965 MB / 0.8081 GB, free: 72.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02582/1.896, allocations: 16.56 MB / 0.8243 GB, free: 55.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.896, allocations: 90.11 kB / 0.8244 GB, free: 55.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.071e-06/1.896, allocations: 0 / 0.8244 GB, free: 55.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.0307/1.927, allocations: 15.74 MB / 0.8397 GB, free: 40.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.927, allocations: 128.7 kB / 0.8399 GB, free: 39.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006168/1.933, allocations: 5.105 MB / 0.8449 GB, free: 34.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008474/1.934, allocations: 97.7 kB / 0.8449 GB, free: 34.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.937, allocations: 5.884 MB / 0.8507 GB, free: 28.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.938, allocations: 1.589 MB / 0.8522 GB, free: 27.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/1.941, allocations: 1.547 MB / 0.8538 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/1.941, allocations: 309.1 kB / 0.8541 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005302/1.946, allocations: 4.152 MB / 0.8581 GB, free: 21.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007229/1.953, allocations: 7.27 MB / 0.8652 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.966, allocations: 11.95 MB / 0.8769 GB, free: 15.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.752e-05/1.967, allocations: 28 kB / 0.8769 GB, free: 15.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02638/1.993, allocations: 13.14 MB / 0.8897 GB, free: 1.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.993, allocations: 48 kB / 0.8898 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.993, allocations: 104 kB / 0.8899 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006657/2, allocations: 3.111 MB / 0.8929 GB, free: 14.59 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/2.006, allocations: 1.603 MB / 0.8945 GB, free: 12.99 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008702/2.007, allocations: 335 kB / 0.8948 GB, free: 12.65 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/2.015, allocations: 1.042 MB / 0.8958 GB, free: 11.6 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/2.017, allocations: 392 kB / 0.8962 GB, free: 11.21 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.01387/2.031, allocations: 5.39 MB / 0.9015 GB, free: 5.809 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/2.032, allocations: 0.4976 MB / 0.9019 GB, free: 5.305 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/2.051, allocations: 9.635 MB / 0.9114 GB, free: 11.63 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/2.052, allocations: 48 kB / 0.9114 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/2.052, allocations: 0 / 0.9114 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.324e-05/2.052, allocations: 23.91 kB / 0.9114 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3806/2.432, allocations: 20.86 MB / 0.9318 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/2.432, allocations: 1.375 kB / 0.9318 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004331/2.437, allocations: 0.7323 MB / 0.9325 GB, free: 188.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007799/2.444, allocations: 2.988 MB / 0.9354 GB, free: 187.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001332/2.446, allocations: 103.6 kB / 0.9355 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007393/2.447, allocations: 147 kB / 0.9357 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.447, allocations: 5.344 kB / 0.9357 GB, free: 187.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/2.472, allocations: 14.24 MB / 0.9496 GB, free: 182.1 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/2.476, allocations: 1.368 MB / 0.9509 GB, free: 181.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.478, allocations: 79.69 kB / 0.951 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003692/2.482, allocations: 362.4 kB / 0.9513 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000806/2.482, allocations: 322 kB / 0.9516 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/2.483, allocations: 134.1 kB / 0.9518 GB, free: 181.5 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006157/2.489, allocations: 3.421 MB / 0.9551 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.71e-07/2.489, allocations: 4.688 kB / 0.9551 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01025/2.499, allocations: 3.197 MB / 0.9582 GB, free: 179.3 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.001259/2.5, allocations: 256.4 kB / 0.9585 GB, free: 179.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.04136/2.542, allocations: 19.63 MB / 0.9777 GB, free: 166.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.887e-05/2.542, allocations: 0 / 0.9777 GB, free: 166.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01033/2.552, allocations: 4.465 MB / 0.982 GB, free: 163 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/2.563, allocations: 1.268 MB / 0.9833 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05845/2.621, allocations: 24.23 MB / 1.007 GB, free: 140.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02132/2.643, allocations: 9.012 MB / 1.016 GB, free: 132.8 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.009382/2.652, allocations: 2.869 MB / 1.019 GB, free: 129.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/2.655, allocations: 399.3 kB / 1.019 GB, free: 129.5 MB / 0.5763 GB Notification: Performance of SimCode: time 1.613e-06/2.655, allocations: 0 / 1.019 GB, free: 129.5 MB / 0.5763 GB Notification: Performance of Templates: time 0.1639/2.819, allocations: 96.12 MB / 1.113 GB, free: 33.99 MB / 0.5763 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches