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.00116/0.00116, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001174/0.001174, allocations: 192 kB / 18.56 MB, free: 4.434 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.373/1.373, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.247/0.247, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.33 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1244, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02549/0.1499, allocations: 22.71 MB / 492 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.1655, allocations: 5.455 MB / 497.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005304/0.1708, allocations: 195.4 kB / 497.6 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02109/0.1919, allocations: 9.49 MB / 0.4952 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.2028, allocations: 2.303 MB / 0.4975 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.2095, allocations: 1.697 MB / 0.4991 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3355/0.5451, allocations: 14.35 MB / 0.5131 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05914/0.6043, allocations: 34.43 MB / 0.5468 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/0.6205, allocations: 7.944 MB / 0.5545 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01698/0.6376, allocations: 8.827 MB / 0.5631 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007112/0.6447, allocations: 2.102 MB / 0.5652 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/0.6561, allocations: 2.332 MB / 0.5675 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009833/0.666, allocations: 4.327 MB / 0.5717 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02178/0.6878, allocations: 8.626 MB / 0.5801 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03308/0.7209, allocations: 28.51 MB / 0.608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.721, allocations: 0 / 0.608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.721, allocations: 0 / 0.608 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007657/0.7218, allocations: 4 kB / 0.608 GB, free: 15.78 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.05817/0.7799, allocations: 18.7 MB / 0.6262 GB, free: 13.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.78, allocations: 12.03 kB / 0.6262 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06075/0.8408, allocations: 11.68 MB / 0.6376 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/0.8598, allocations: 8.555 MB / 0.646 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001359/0.8612, allocations: 1.057 MB / 0.647 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006118/0.8673, allocations: 1.373 MB / 0.6484 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06127/0.9286, allocations: 23.59 MB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000627/0.9293, allocations: 15.81 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005228/0.9345, allocations: 0.5688 MB / 0.672 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009423/0.9355, allocations: 0.7017 MB / 0.6727 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05831/0.9938, allocations: 21.69 MB / 0.6938 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.672/1.666, allocations: 71.73 MB / 0.7639 GB, free: 95.05 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.688, allocations: 28.66 MB / 0.7919 GB, free: 68.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008849/1.697, allocations: 4.959 MB / 0.7967 GB, free: 66.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03111/1.728, allocations: 15.69 MB / 0.812 GB, free: 52.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/1.728, allocations: 86.05 kB / 0.8121 GB, free: 52.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 9.468e-06/1.728, allocations: 0 / 0.8121 GB, free: 52.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03842/1.766, allocations: 15.7 MB / 0.8274 GB, free: 36.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.766, allocations: 128.7 kB / 0.8276 GB, free: 36.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.781, allocations: 5.109 MB / 0.8326 GB, free: 31.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00179/1.782, allocations: 101.7 kB / 0.8327 GB, free: 31.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00495/1.787, allocations: 5.89 MB / 0.8384 GB, free: 25.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002953/1.79, allocations: 1.585 MB / 0.84 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005997/1.796, allocations: 1.534 MB / 0.8415 GB, free: 22.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/1.797, allocations: 305.1 kB / 0.8417 GB, free: 21.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007266/1.804, allocations: 4.144 MB / 0.8458 GB, free: 17.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00967/1.813, allocations: 7.264 MB / 0.8529 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/1.832, allocations: 11.93 MB / 0.8645 GB, free: 12.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001576/1.833, allocations: 28 kB / 0.8646 GB, free: 11.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03202/1.865, allocations: 13.1 MB / 0.8774 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/1.865, allocations: 48 kB / 0.8774 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/1.865, allocations: 104.8 kB / 0.8775 GB, free: 15.35 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007549/1.873, allocations: 3.116 MB / 0.8805 GB, free: 12.22 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007003/1.88, allocations: 1.59 MB / 0.8821 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/1.881, allocations: 338.2 kB / 0.8824 GB, free: 10.45 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007854/1.889, allocations: 1.057 MB / 0.8834 GB, free: 9.383 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.891, allocations: 384 kB / 0.8838 GB, free: 9.008 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.01247/1.903, allocations: 5.392 MB / 0.8891 GB, free: 3.723 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/1.905, allocations: 0.4899 MB / 0.8896 GB, free: 3.227 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.021/1.926, allocations: 9.638 MB / 0.899 GB, free: 9.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/1.926, allocations: 48 kB / 0.899 GB, free: 9.523 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.926, allocations: 0 / 0.899 GB, free: 9.523 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/1.927, allocations: 23.91 kB / 0.899 GB, free: 9.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05616/1.983, allocations: 20.8 MB / 0.9194 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/1.983, allocations: 7.984 kB / 0.9194 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003529/1.986, allocations: 0.7312 MB / 0.9201 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006522/1.993, allocations: 2.984 MB / 0.923 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/1.994, allocations: 95.98 kB / 0.9231 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/1.995, allocations: 146.1 kB / 0.9232 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.995, allocations: 7.922 kB / 0.9232 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2988/2.293, allocations: 14.2 MB / 0.9371 GB, free: 213.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/2.297, allocations: 1.362 MB / 0.9384 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/2.299, allocations: 76.75 kB / 0.9385 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003278/2.302, allocations: 368.9 kB / 0.9388 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008296/2.303, allocations: 317 kB / 0.9391 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003589/2.303, allocations: 129.7 kB / 0.9393 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006642/2.31, allocations: 3.423 MB / 0.9426 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.4e-07/2.31, allocations: 0 / 0.9426 GB, free: 211.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009684/2.319, allocations: 3.188 MB / 0.9457 GB, free: 210.5 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.001275/2.321, allocations: 250.1 kB / 0.946 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03739/2.358, allocations: 19.62 MB / 0.9651 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/2.358, allocations: 1.125 kB / 0.9651 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007804/2.366, allocations: 4.445 MB / 0.9695 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/2.373, allocations: 1.27 MB / 0.9707 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/2.413, allocations: 24.23 MB / 0.9944 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/2.424, allocations: 9.014 MB / 1.003 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009517/2.434, allocations: 2.867 MB / 1.006 GB, free: 167.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/2.435, allocations: 375.4 kB / 1.006 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/2.435, allocations: 0 / 1.006 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1554/2.591, allocations: 97.41 MB / 1.101 GB, free: 70.59 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 -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/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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches