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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 110.8 kB / 17.32 MB, free: 6.027 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.001004/0.001004, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.299/1.299, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.1944/0.1944, allocations: 44.18 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 65.5 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09815, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02069/0.1189, allocations: 22.3 MB / 491.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1307, allocations: 5.397 MB / 496.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.1344, allocations: 183.4 kB / 496.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01815/0.1526, allocations: 8.997 MB / 0.4938 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006615/0.1592, allocations: 2.084 MB / 0.4959 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.1628, allocations: 1.574 MB / 0.4974 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1989/0.3617, allocations: 14.36 MB / 0.5114 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04413/0.4058, allocations: 39.4 MB / 0.5499 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/0.4174, allocations: 8.228 MB / 0.558 GB, free: 0 / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.4291, allocations: 8.869 MB / 0.5666 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004003/0.4332, allocations: 2.098 MB / 0.5687 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005332/0.4385, allocations: 2.335 MB / 0.5709 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00378/0.4423, allocations: 4.327 MB / 0.5752 GB, free: 264 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.4528, allocations: 8.424 MB / 0.5834 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02456/0.4774, allocations: 28.51 MB / 0.6112 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.517e-06/0.4774, allocations: 4 kB / 0.6112 GB, free: 11.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4774, allocations: 0 / 0.6112 GB, free: 11.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007571/0.4782, allocations: 0 / 0.6112 GB, free: 11.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.05251/0.5307, allocations: 18.68 MB / 0.6295 GB, free: 9.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5308, allocations: 15.97 kB / 0.6295 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005017/0.5358, allocations: 2.012 MB / 0.6315 GB, free: 7.305 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05736/0.5932, allocations: 11.69 MB / 0.6429 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01567/0.6089, allocations: 8.555 MB / 0.6512 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007225/0.6096, allocations: 1.054 MB / 0.6523 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.613, allocations: 1.375 MB / 0.6536 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.6621, allocations: 23.59 MB / 0.6766 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005041/0.6627, allocations: 15.81 kB / 0.6767 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004312/0.667, allocations: 0.5692 MB / 0.6772 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.6681, allocations: 0.7017 MB / 0.6779 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0546/0.7227, allocations: 21.69 MB / 0.6991 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5013/1.224, allocations: 71.71 MB / 0.7691 GB, free: 91.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/1.24, allocations: 28.67 MB / 0.7971 GB, free: 65.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006131/1.246, allocations: 4.959 MB / 0.802 GB, free: 62.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02138/1.268, allocations: 15.68 MB / 0.8173 GB, free: 47.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.268, allocations: 90.05 kB / 0.8174 GB, free: 47.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.442e-06/1.268, allocations: 4 kB / 0.8174 GB, free: 47.49 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.02991/1.298, allocations: 15.7 MB / 0.8327 GB, free: 31.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/1.298, allocations: 128.7 kB / 0.8328 GB, free: 31.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/1.303, allocations: 5.109 MB / 0.8378 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004977/1.304, allocations: 97.7 kB / 0.8379 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002084/1.306, allocations: 5.89 MB / 0.8436 GB, free: 20.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.307, allocations: 1.577 MB / 0.8452 GB, free: 18.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/1.309, allocations: 1.535 MB / 0.8467 GB, free: 17.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.357e-05/1.309, allocations: 301.1 kB / 0.847 GB, free: 17.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/1.314, allocations: 4.144 MB / 0.851 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005893/1.32, allocations: 7.264 MB / 0.8581 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.333, allocations: 11.93 MB / 0.8698 GB, free: 7.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/1.333, allocations: 36 kB / 0.8698 GB, free: 7.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01924/1.353, allocations: 13.1 MB / 0.8826 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-05/1.353, allocations: 51.75 kB / 0.8826 GB, free: 10.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.353, allocations: 104 kB / 0.8827 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006149/1.359, allocations: 3.111 MB / 0.8858 GB, free: 7.477 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/1.364, allocations: 1.596 MB / 0.8873 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006823/1.365, allocations: 336.8 kB / 0.8877 GB, free: 5.699 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005049/1.37, allocations: 1.065 MB / 0.8887 GB, free: 4.625 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006144/1.371, allocations: 380 kB / 0.8891 GB, free: 4.254 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.007981/1.379, allocations: 5.395 MB / 0.8943 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.38, allocations: 0.4938 MB / 0.8948 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/1.395, allocations: 9.637 MB / 0.9042 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/1.395, allocations: 48 kB / 0.9043 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.395, allocations: 0 / 0.9043 GB, free: 4.758 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.395, allocations: 23.91 kB / 0.9043 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2143/1.609, allocations: 20.8 MB / 0.9246 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.61, allocations: 0.7969 kB / 0.9246 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/1.613, allocations: 0.7294 MB / 0.9253 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006296/1.62, allocations: 2.979 MB / 0.9282 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005907/1.62, allocations: 94.28 kB / 0.9283 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005835/1.621, allocations: 154.1 kB / 0.9285 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.621, allocations: 11 kB / 0.9285 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.639, allocations: 14.2 MB / 0.9423 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.642, allocations: 1.36 MB / 0.9437 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/1.642, allocations: 82.98 kB / 0.9437 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.645, allocations: 383.9 kB / 0.9441 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/1.645, allocations: 312.6 kB / 0.9444 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/1.646, allocations: 132.6 kB / 0.9445 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003946/1.65, allocations: 3.419 MB / 0.9479 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.65, allocations: 0 / 0.9479 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006559/1.656, allocations: 3.191 MB / 0.951 GB, free: 208.3 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.01778/1.674, allocations: 14.93 MB / 0.9656 GB, free: 202.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03535/1.709, allocations: 19.61 MB / 0.9847 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.709, allocations: 0 / 0.9847 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006662/1.716, allocations: 4.449 MB / 0.9891 GB, free: 185 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005797/1.722, allocations: 1.265 MB / 0.9903 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1164/1.838, allocations: 95.44 MB / 1.084 GB, free: 81.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009163/1.847, allocations: 9.01 MB / 1.092 GB, free: 72.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006667/1.854, allocations: 2.873 MB / 1.095 GB, free: 69.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005518/1.86, allocations: 4.674 MB / 1.1 GB, free: 65.32 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/1.86, allocations: 0 / 1.1 GB, free: 65.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.425/2.285, allocations: 178.7 MB / 1.274 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/2.285, allocations: 240.6 kB / 1.274 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.959/7.244, allocations: 0 / 1.274 GB, free: 118.2 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > 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