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.001124/0.001124, allocations: 110 kB / 18.3 MB, free: 4.84 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.001154/0.001154, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.32/1.32, allocations: 222.9 MB / 242.9 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.2472/0.2472, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 61.28 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 60.84 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02319/0.1458, allocations: 22.71 MB / 492.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.1596, allocations: 5.459 MB / 498.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005989/0.1656, allocations: 191.4 kB / 498.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02166/0.1873, allocations: 9.483 MB / 0.4959 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.197, allocations: 2.299 MB / 0.4981 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.2031, allocations: 1.704 MB / 0.4998 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2479/0.451, allocations: 14.35 MB / 0.5138 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05023/0.5013, allocations: 34.43 MB / 0.5474 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.5147, allocations: 7.953 MB / 0.5552 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01542/0.5302, allocations: 8.825 MB / 0.5638 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006405/0.5366, allocations: 2.098 MB / 0.5658 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008831/0.5455, allocations: 2.331 MB / 0.5681 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00756/0.5531, allocations: 4.328 MB / 0.5724 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01822/0.5713, allocations: 8.592 MB / 0.5807 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03153/0.6029, allocations: 28.5 MB / 0.6086 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.6029, allocations: 3.984 kB / 0.6086 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.603, allocations: 4 kB / 0.6086 GB, free: 15.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008632/0.6038, allocations: 0 / 0.6086 GB, free: 15.65 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.06742/0.6713, allocations: 18.7 MB / 0.6268 GB, free: 13.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6713, allocations: 15.78 kB / 0.6269 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06518/0.7365, allocations: 11.68 MB / 0.6383 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/0.7566, allocations: 8.558 MB / 0.6466 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/0.7579, allocations: 1.059 MB / 0.6477 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006779/0.7647, allocations: 1.372 MB / 0.649 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0622/0.8269, allocations: 23.59 MB / 0.672 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006121/0.8276, allocations: 15.81 kB / 0.672 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005179/0.8328, allocations: 0.5681 MB / 0.6726 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007642/0.8336, allocations: 0.7017 MB / 0.6733 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04969/0.8833, allocations: 21.69 MB / 0.6945 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6275/1.511, allocations: 71.72 MB / 0.7645 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0227/1.534, allocations: 28.67 MB / 0.7925 GB, free: 95.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0082/1.542, allocations: 4.965 MB / 0.7973 GB, free: 92.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03123/1.573, allocations: 15.68 MB / 0.8127 GB, free: 76.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.092e-05/1.573, allocations: 94.03 kB / 0.8127 GB, free: 76.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 9.678e-06/1.573, allocations: 0 / 0.8127 GB, free: 76.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03773/1.611, allocations: 15.69 MB / 0.8281 GB, free: 61.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/1.611, allocations: 128.6 kB / 0.8282 GB, free: 60.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009607/1.621, allocations: 5.105 MB / 0.8332 GB, free: 55.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/1.622, allocations: 101.7 kB / 0.8333 GB, free: 55.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003427/1.625, allocations: 5.882 MB / 0.839 GB, free: 49.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/1.628, allocations: 1.589 MB / 0.8406 GB, free: 48.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004682/1.632, allocations: 1.535 MB / 0.8421 GB, free: 46.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/1.632, allocations: 309.1 kB / 0.8424 GB, free: 46.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00712/1.64, allocations: 4.144 MB / 0.8464 GB, free: 42.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.65, allocations: 7.264 MB / 0.8535 GB, free: 33.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/1.667, allocations: 11.93 MB / 0.8652 GB, free: 20.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.668, allocations: 31.94 kB / 0.8652 GB, free: 20.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02533/1.693, allocations: 13.1 MB / 0.878 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/1.693, allocations: 48 kB / 0.878 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/1.693, allocations: 104 kB / 0.8781 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/1.699, allocations: 3.118 MB / 0.8812 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006245/1.706, allocations: 1.587 MB / 0.8827 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/1.707, allocations: 339 kB / 0.883 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.714, allocations: 1.057 MB / 0.8841 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00169/1.715, allocations: 384 kB / 0.8844 GB, free: 292 kB / 0.5294 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.01245/1.728, allocations: 5.388 MB / 0.8897 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/1.73, allocations: 0.4938 MB / 0.8902 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02351/1.753, allocations: 9.639 MB / 0.8996 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/1.754, allocations: 44 kB / 0.8996 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.754, allocations: 4 kB / 0.8996 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/1.754, allocations: 23.91 kB / 0.8997 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.371/2.125, allocations: 20.8 MB / 0.92 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.123e-05/2.125, allocations: 0 / 0.92 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003954/2.129, allocations: 0.7303 MB / 0.9207 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007074/2.136, allocations: 2.989 MB / 0.9236 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/2.137, allocations: 93.23 kB / 0.9237 GB, free: 184.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007229/2.138, allocations: 153.2 kB / 0.9238 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/2.138, allocations: 1.094 kB / 0.9238 GB, free: 184 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02388/2.162, allocations: 14.2 MB / 0.9377 GB, free: 178.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/2.165, allocations: 1.368 MB / 0.9391 GB, free: 178.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/2.167, allocations: 79.08 kB / 0.9391 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003819/2.171, allocations: 368.8 kB / 0.9395 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.172, allocations: 321.5 kB / 0.9398 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005314/2.172, allocations: 126.2 kB / 0.9399 GB, free: 178.3 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.007517/2.18, allocations: 3.423 MB / 0.9432 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.3e-07/2.18, allocations: 0 / 0.9432 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0118/2.192, allocations: 3.187 MB / 0.9464 GB, free: 176.1 MB / 0.5607 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.001557/2.193, allocations: 245.5 kB / 0.9466 GB, free: 175.9 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.03843/2.232, allocations: 19.62 MB / 0.9658 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/2.232, allocations: 0 / 0.9658 GB, free: 165.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.009555/2.241, allocations: 4.446 MB / 0.9701 GB, free: 161.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009596/2.251, allocations: 1.269 MB / 0.9713 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05459/2.306, allocations: 23.79 MB / 0.9946 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01801/2.324, allocations: 8.707 MB / 1.003 GB, free: 130.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/2.326, allocations: 435.3 kB / 1.003 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of SimCode: time 1.222e-06/2.326, allocations: 0 / 1.003 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of Templates: time 1.159/3.485, allocations: 382.1 MB / 1.377 GB, free: 178.8 MB / 0.5763 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/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