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.001082/0.001082, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 78.69 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 62.44 MB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02046/0.1311, allocations: 22.74 MB / 0.4924 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.142, allocations: 5.518 MB / 0.4978 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/0.1466, allocations: 195.4 kB / 0.498 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2157/0.3623, allocations: 9.474 MB / 0.5072 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007877/0.3702, allocations: 2.14 MB / 0.5093 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.3754, allocations: 1.891 MB / 0.5111 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01583/0.3912, allocations: 14.48 MB / 0.5253 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04226/0.4335, allocations: 34.29 MB / 0.5588 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.4469, allocations: 7.965 MB / 0.5665 GB, free: 9.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01535/0.4623, allocations: 8.732 MB / 0.5751 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00604/0.4684, allocations: 2.098 MB / 0.5771 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.479, allocations: 2.358 MB / 0.5794 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006996/0.486, allocations: 4.316 MB / 0.5836 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01745/0.5035, allocations: 8.425 MB / 0.5919 GB, free: 440 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03245/0.536, allocations: 28.68 MB / 0.6199 GB, free: 4.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.536, allocations: 4 kB / 0.6199 GB, free: 4.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.536, allocations: 0 / 0.6199 GB, free: 4.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000891/0.5369, allocations: 0 / 0.6199 GB, free: 4.27 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.0593/0.5962, allocations: 18.71 MB / 0.6382 GB, free: 1.637 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5963, allocations: 8.031 kB / 0.6382 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05993/0.6562, allocations: 11.69 MB / 0.6496 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/0.6797, allocations: 8.851 MB / 0.6582 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001326/0.6811, allocations: 1.061 MB / 0.6593 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006521/0.6877, allocations: 1.373 MB / 0.6606 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06272/0.7504, allocations: 23.58 MB / 0.6836 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009014/0.7514, allocations: 23.75 kB / 0.6836 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005579/0.757, allocations: 0.5705 MB / 0.6842 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008559/0.7578, allocations: 0.6978 MB / 0.6849 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2658/1.024, allocations: 21.68 MB / 0.7061 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/1.127, allocations: 71.83 MB / 0.7762 GB, free: 108 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/1.145, allocations: 28.66 MB / 0.8042 GB, free: 81.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006393/1.152, allocations: 4.965 MB / 0.809 GB, free: 76.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02079/1.172, allocations: 16.46 MB / 0.8251 GB, free: 59.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/1.172, allocations: 78.11 kB / 0.8252 GB, free: 59.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.063e-06/1.172, allocations: 0 / 0.8252 GB, free: 59.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.02928/1.202, allocations: 15.7 MB / 0.8405 GB, free: 43.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.202, allocations: 128.6 kB / 0.8406 GB, free: 43.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/1.208, allocations: 5.109 MB / 0.8456 GB, free: 38.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007291/1.209, allocations: 97.7 kB / 0.8457 GB, free: 38.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002461/1.211, allocations: 5.883 MB / 0.8515 GB, free: 32.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.213, allocations: 1.585 MB / 0.853 GB, free: 30.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00216/1.215, allocations: 1.539 MB / 0.8545 GB, free: 29.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/1.215, allocations: 305.1 kB / 0.8548 GB, free: 28.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/1.22, allocations: 4.144 MB / 0.8589 GB, free: 24.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/1.226, allocations: 7.262 MB / 0.8659 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.236, allocations: 11.94 MB / 0.8776 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.769e-05/1.236, allocations: 28 kB / 0.8776 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01979/1.256, allocations: 13.1 MB / 0.8904 GB, free: 5.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/1.256, allocations: 56.06 kB / 0.8905 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/1.257, allocations: 100 kB / 0.8906 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/1.263, allocations: 3.102 MB / 0.8936 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/1.268, allocations: 1.583 MB / 0.8951 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006847/1.269, allocations: 346.9 kB / 0.8955 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.274, allocations: 1.057 MB / 0.8965 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009128/1.275, allocations: 380 kB / 0.8969 GB, free: 14.73 MB / 0.5606 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.009331/1.284, allocations: 5.397 MB / 0.9021 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.286, allocations: 0.4938 MB / 0.9026 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.302, allocations: 9.631 MB / 0.912 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.302, allocations: 48 kB / 0.9121 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.302, allocations: 4 kB / 0.9121 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.302, allocations: 19.92 kB / 0.9121 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2855/1.588, allocations: 20.76 MB / 0.9324 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.588, allocations: 6.906 kB / 0.9324 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/1.591, allocations: 0.7297 MB / 0.9331 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006368/1.597, allocations: 2.962 MB / 0.936 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007232/1.598, allocations: 97.98 kB / 0.9361 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006276/1.599, allocations: 149.9 kB / 0.9362 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.599, allocations: 1 kB / 0.9362 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02172/1.62, allocations: 14.21 MB / 0.9501 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004/1.625, allocations: 1.365 MB / 0.9514 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/1.626, allocations: 87.78 kB / 0.9515 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/1.629, allocations: 363.6 kB / 0.9519 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008427/1.63, allocations: 315.4 kB / 0.9522 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004442/1.631, allocations: 134.6 kB / 0.9523 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006303/1.637, allocations: 3.422 MB / 0.9556 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/1.637, allocations: 0 / 0.9556 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009504/1.647, allocations: 3.189 MB / 0.9587 GB, free: 183.6 MB / 0.5762 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.0009211/1.647, allocations: 252.7 kB / 0.959 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.663, allocations: 9.908 MB / 0.9687 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.663, allocations: 0 / 0.9687 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00742/1.671, allocations: 4.448 MB / 0.973 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00723/1.678, allocations: 1.272 MB / 0.9742 GB, free: 177.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04415/1.722, allocations: 24.06 MB / 0.9977 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01162/1.734, allocations: 9.01 MB / 1.007 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006606/1.74, allocations: 2.873 MB / 1.009 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.741, allocations: 375.4 kB / 1.01 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of SimCode: time 1.173e-06/1.741, allocations: 0 / 1.01 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.1256/1.867, allocations: 91.27 MB / 1.099 GB, free: 55.79 MB / 0.5762 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 -s gbode -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