Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.22 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02202/0.1257, allocations: 22.71 MB / 493.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1386, allocations: 5.463 MB / 498.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004989/0.1436, allocations: 191.4 kB / 499.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.1645, allocations: 9.486 MB / 0.4966 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009425/0.174, allocations: 2.307 MB / 0.4989 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00485/0.1789, allocations: 1.709 MB / 0.5006 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2285/0.4073, allocations: 14.46 MB / 0.5147 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04797/0.4553, allocations: 34.28 MB / 0.5482 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.4692, allocations: 7.97 MB / 0.5559 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/0.4862, allocations: 8.813 MB / 0.5646 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007579/0.4938, allocations: 2.098 MB / 0.5666 GB, free: 9.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008611/0.5024, allocations: 2.329 MB / 0.5689 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006363/0.5088, allocations: 4.328 MB / 0.5731 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01448/0.5233, allocations: 8.421 MB / 0.5813 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02937/0.5527, allocations: 28.67 MB / 0.6093 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5527, allocations: 0 / 0.6093 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5528, allocations: 0 / 0.6093 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008135/0.5536, allocations: 0 / 0.6093 GB, free: 14.8 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.06338/0.617, allocations: 18.7 MB / 0.6276 GB, free: 12.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.617, allocations: 8.031 kB / 0.6276 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06195/0.679, allocations: 11.69 MB / 0.639 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02459/0.7036, allocations: 8.829 MB / 0.6476 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/0.7048, allocations: 1.065 MB / 0.6487 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005341/0.7102, allocations: 1.376 MB / 0.65 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06203/0.7722, allocations: 23.58 MB / 0.673 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007161/0.773, allocations: 19.89 kB / 0.6731 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004706/0.7777, allocations: 0.5692 MB / 0.6736 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007902/0.7785, allocations: 0.6978 MB / 0.6743 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05049/0.829, allocations: 21.69 MB / 0.6955 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6059/1.435, allocations: 70.86 MB / 0.7647 GB, free: 94.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02034/1.455, allocations: 28.66 MB / 0.7927 GB, free: 68.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.462, allocations: 4.955 MB / 0.7975 GB, free: 65.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02867/1.491, allocations: 15.66 MB / 0.8128 GB, free: 51.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/1.491, allocations: 90.05 kB / 0.8129 GB, free: 51.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.462e-06/1.491, allocations: 0 / 0.8129 GB, free: 51.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03305/1.524, allocations: 15.7 MB / 0.8282 GB, free: 36.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.524, allocations: 128.1 kB / 0.8283 GB, free: 35.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007845/1.532, allocations: 5.109 MB / 0.8333 GB, free: 30.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007494/1.533, allocations: 97.7 kB / 0.8334 GB, free: 30.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002909/1.536, allocations: 5.896 MB / 0.8392 GB, free: 24.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.538, allocations: 1.583 MB / 0.8407 GB, free: 23.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00347/1.541, allocations: 1.531 MB / 0.8422 GB, free: 21.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.696e-05/1.541, allocations: 305.1 kB / 0.8425 GB, free: 21.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005702/1.547, allocations: 4.141 MB / 0.8465 GB, free: 17.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007077/1.554, allocations: 7.265 MB / 0.8536 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/1.569, allocations: 11.93 MB / 0.8653 GB, free: 11.6 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/1.569, allocations: 36 kB / 0.8653 GB, free: 11.56 MB / 0.5451 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02365/1.592, allocations: 13.1 MB / 0.8781 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.593, allocations: 48 kB / 0.8782 GB, free: 15.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/1.593, allocations: 104 kB / 0.8783 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/1.599, allocations: 3.099 MB / 0.8813 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006116/1.605, allocations: 1.593 MB / 0.8828 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008614/1.606, allocations: 341.8 kB / 0.8832 GB, free: 10.05 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.613, allocations: 1.057 MB / 0.8842 GB, free: 8.98 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.614, allocations: 380 kB / 0.8846 GB, free: 8.609 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.01108/1.625, allocations: 5.391 MB / 0.8898 GB, free: 3.324 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.627, allocations: 0.4938 MB / 0.8903 GB, free: 2.824 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.646, allocations: 9.626 MB / 0.8997 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/1.646, allocations: 48 kB / 0.8998 GB, free: 9.129 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.646, allocations: 0 / 0.8998 GB, free: 9.129 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.844e-05/1.646, allocations: 27.91 kB / 0.8998 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05088/1.697, allocations: 20.75 MB / 0.92 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.697, allocations: 0 / 0.92 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/1.701, allocations: 0.7381 MB / 0.9208 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006667/1.708, allocations: 2.965 MB / 0.9237 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008549/1.708, allocations: 99.97 kB / 0.9238 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/1.709, allocations: 146.4 kB / 0.9239 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.709, allocations: 3.938 kB / 0.9239 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2864/1.995, allocations: 14.21 MB / 0.9378 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004167/2, allocations: 1.363 MB / 0.9391 GB, free: 213.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/2.001, allocations: 77.22 kB / 0.9392 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/2.004, allocations: 369.7 kB / 0.9395 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006588/2.004, allocations: 319.1 kB / 0.9398 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/2.005, allocations: 130.2 kB / 0.94 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004553/2.009, allocations: 3.424 MB / 0.9433 GB, free: 212 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/2.009, allocations: 0 / 0.9433 GB, free: 212 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00808/2.017, allocations: 3.181 MB / 0.9464 GB, free: 211 MB / 0.5919 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.000758/2.018, allocations: 244.1 kB / 0.9466 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01529/2.034, allocations: 9.915 MB / 0.9563 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/2.034, allocations: 0 / 0.9563 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006986/2.041, allocations: 4.451 MB / 0.9607 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/2.046, allocations: 1.27 MB / 0.9619 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04178/2.088, allocations: 23.95 MB / 0.9853 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/2.098, allocations: 9.009 MB / 0.9941 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006849/2.105, allocations: 2.87 MB / 0.9969 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/2.106, allocations: 371.4 kB / 0.9973 GB, free: 177 MB / 0.5919 GB Notification: Performance of SimCode: time 1.103e-06/2.106, allocations: 0 / 0.9973 GB, free: 177 MB / 0.5919 GB Notification: Performance of Templates: time 0.1348/2.241, allocations: 91.22 MB / 1.086 GB, free: 86.49 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches