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.001271/0.001271, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001256/0.001256, allocations: 191 kB / 19.34 MB, free: 3.766 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.543/1.543, allocations: 222.9 MB / 243 MB, free: 15.13 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.2523/0.2523, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.31 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1824, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.025/0.2074, allocations: 22.72 MB / 493.4 MB, free: 6.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.2244, allocations: 5.455 MB / 498.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007761/0.2322, allocations: 195.4 kB / 499.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02246/0.2548, allocations: 9.485 MB / 0.4966 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.2673, allocations: 2.296 MB / 0.4989 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007117/0.2744, allocations: 1.712 MB / 0.5006 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.385/0.6595, allocations: 14.46 MB / 0.5147 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05913/0.7187, allocations: 34.29 MB / 0.5482 GB, free: 9.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02058/0.7393, allocations: 7.96 MB / 0.5559 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01772/0.7571, allocations: 8.832 MB / 0.5646 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007155/0.7643, allocations: 2.098 MB / 0.5666 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.7763, allocations: 2.332 MB / 0.5689 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01108/0.7874, allocations: 4.324 MB / 0.5731 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02129/0.8087, allocations: 8.434 MB / 0.5813 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03614/0.8449, allocations: 28.65 MB / 0.6093 GB, free: 14.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.845, allocations: 8 kB / 0.6093 GB, free: 14.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.845, allocations: 3.938 kB / 0.6093 GB, free: 14.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001054/0.8461, allocations: 0 / 0.6093 GB, free: 14.93 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.07441/0.9205, allocations: 18.69 MB / 0.6276 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/0.9206, allocations: 8.031 kB / 0.6276 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06502/0.9856, allocations: 11.68 MB / 0.639 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02691/1.013, allocations: 8.856 MB / 0.6477 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/1.014, allocations: 1.056 MB / 0.6487 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006889/1.021, allocations: 1.376 MB / 0.65 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07705/1.098, allocations: 23.58 MB / 0.6731 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008678/1.099, allocations: 15.91 kB / 0.6731 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007558/1.107, allocations: 0.5701 MB / 0.6736 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001191/1.108, allocations: 0.6978 MB / 0.6743 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06181/1.17, allocations: 21.69 MB / 0.6955 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7417/1.911, allocations: 70.84 MB / 0.7647 GB, free: 94.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02363/1.935, allocations: 28.67 MB / 0.7927 GB, free: 68.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008608/1.944, allocations: 4.965 MB / 0.7975 GB, free: 65.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03204/1.976, allocations: 15.65 MB / 0.8128 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.371e-05/1.976, allocations: 86.05 kB / 0.8129 GB, free: 52.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 9.077e-06/1.976, allocations: 0 / 0.8129 GB, free: 52.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03767/2.014, allocations: 15.7 MB / 0.8282 GB, free: 36.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/2.014, allocations: 128.3 kB / 0.8283 GB, free: 36.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009651/2.023, allocations: 5.109 MB / 0.8333 GB, free: 31.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/2.025, allocations: 105.7 kB / 0.8334 GB, free: 31.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002948/2.028, allocations: 5.892 MB / 0.8392 GB, free: 25.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001952/2.029, allocations: 1.584 MB / 0.8407 GB, free: 23.51 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/2.032, allocations: 1.531 MB / 0.8422 GB, free: 21.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/2.032, allocations: 305.1 kB / 0.8425 GB, free: 21.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005235/2.037, allocations: 4.141 MB / 0.8466 GB, free: 17.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007192/2.045, allocations: 7.261 MB / 0.8536 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/2.061, allocations: 11.93 MB / 0.8653 GB, free: 11.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/2.061, allocations: 28 kB / 0.8653 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02811/2.09, allocations: 13.11 MB / 0.8781 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/2.09, allocations: 53.72 kB / 0.8782 GB, free: 15.33 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/2.09, allocations: 104 kB / 0.8783 GB, free: 15.23 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006691/2.097, allocations: 3.087 MB / 0.8813 GB, free: 12.13 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/2.103, allocations: 1.6 MB / 0.8829 GB, free: 10.65 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008304/2.104, allocations: 338.1 kB / 0.8832 GB, free: 10.35 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/2.11, allocations: 1.057 MB / 0.8842 GB, free: 9.285 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/2.112, allocations: 376 kB / 0.8846 GB, free: 8.918 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.01112/2.123, allocations: 5.4 MB / 0.8898 GB, free: 3.625 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.124, allocations: 0.4977 MB / 0.8903 GB, free: 3.121 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/2.142, allocations: 9.623 MB / 0.8997 GB, free: 9.477 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/2.142, allocations: 48 kB / 0.8998 GB, free: 9.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/2.142, allocations: 0 / 0.8998 GB, free: 9.43 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/2.142, allocations: 27.89 kB / 0.8998 GB, free: 9.402 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04978/2.192, allocations: 20.76 MB / 0.9201 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/2.192, allocations: 0 / 0.9201 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/2.196, allocations: 0.7351 MB / 0.9208 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006873/2.203, allocations: 2.965 MB / 0.9237 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001188/2.204, allocations: 91.98 kB / 0.9238 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/2.205, allocations: 150.4 kB / 0.9239 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.205, allocations: 3.938 kB / 0.9239 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3619/2.566, allocations: 14.2 MB / 0.9378 GB, free: 214 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006338/2.573, allocations: 1.359 MB / 0.9391 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001974/2.575, allocations: 77.09 kB / 0.9392 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003769/2.579, allocations: 372.7 kB / 0.9395 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008582/2.58, allocations: 323.4 kB / 0.9398 GB, free: 213.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000345/2.58, allocations: 129.6 kB / 0.94 GB, free: 213.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006047/2.586, allocations: 3.427 MB / 0.9433 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.32e-07/2.586, allocations: 4.453 kB / 0.9433 GB, free: 212.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009937/2.596, allocations: 3.187 MB / 0.9464 GB, free: 211.2 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.001261/2.597, allocations: 242.5 kB / 0.9467 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01784/2.615, allocations: 9.912 MB / 0.9563 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/2.615, allocations: 0 / 0.9563 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/2.626, allocations: 4.44 MB / 0.9607 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008937/2.635, allocations: 1.278 MB / 0.9619 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0534/2.688, allocations: 23.95 MB / 0.9853 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02159/2.71, allocations: 9.009 MB / 0.9941 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0108/2.721, allocations: 2.87 MB / 0.9969 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/2.723, allocations: 375.1 kB / 0.9973 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/2.723, allocations: 0 / 0.9973 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.1384/2.862, allocations: 91.23 MB / 1.086 GB, free: 86.89 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 cvode -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