Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1983/0.1983, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 84.08 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09915, allocations: 62.44 MB / 479.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01975/0.1189, allocations: 22.33 MB / 0.49 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1296, allocations: 5.471 MB / 0.4953 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.133, allocations: 191.3 kB / 0.4955 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0176/0.1507, allocations: 9.009 MB / 0.5043 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2003/0.351, allocations: 1.93 MB / 0.5062 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.3559, allocations: 1.79 MB / 0.5079 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01494/0.3708, allocations: 14.48 MB / 0.5221 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03716/0.408, allocations: 29.04 MB / 0.5504 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.4191, allocations: 7.001 MB / 0.5573 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01347/0.4326, allocations: 8.434 MB / 0.5655 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004779/0.4374, allocations: 1.508 MB / 0.567 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007274/0.4447, allocations: 1.764 MB / 0.5687 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005807/0.4505, allocations: 3.677 MB / 0.5723 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01423/0.4648, allocations: 7.775 MB / 0.5799 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02757/0.4924, allocations: 28.06 MB / 0.6073 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4924, allocations: 0 / 0.6073 GB, free: 15.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4924, allocations: 4 kB / 0.6073 GB, free: 15.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007208/0.4932, allocations: 0 / 0.6073 GB, free: 15.04 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.05413/0.5473, allocations: 18.68 MB / 0.6255 GB, free: 12.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5474, allocations: 8.875 kB / 0.6255 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006702/0.5541, allocations: 2.014 MB / 0.6275 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05929/0.6134, allocations: 11.69 MB / 0.6389 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/0.633, allocations: 8.569 MB / 0.6473 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/0.634, allocations: 1.056 MB / 0.6483 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004977/0.639, allocations: 1.376 MB / 0.6497 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.052/0.6911, allocations: 23.58 MB / 0.6727 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005472/0.6916, allocations: 15.81 kB / 0.6727 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003935/0.6956, allocations: 0.5708 MB / 0.6733 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006869/0.6963, allocations: 0.7017 MB / 0.6739 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04122/0.7375, allocations: 21.68 MB / 0.6951 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4311/1.169, allocations: 72.69 MB / 0.7661 GB, free: 133.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/1.185, allocations: 28.65 MB / 0.7941 GB, free: 106.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005719/1.191, allocations: 4.963 MB / 0.7989 GB, free: 104.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/1.213, allocations: 16.51 MB / 0.8151 GB, free: 93.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.213, allocations: 79.2 kB / 0.8151 GB, free: 93.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=465): time 6.192e-06/1.213, allocations: 0 / 0.8151 GB, free: 93.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=465): time 0.03029/1.243, allocations: 15.7 MB / 0.8305 GB, free: 79.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/1.243, allocations: 124.7 kB / 0.8306 GB, free: 78.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005916/1.249, allocations: 5.101 MB / 0.8356 GB, free: 73.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003295/1.249, allocations: 105.6 kB / 0.8357 GB, free: 73.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002269/1.252, allocations: 5.886 MB / 0.8414 GB, free: 67.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.253, allocations: 1.589 MB / 0.843 GB, free: 66.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.255, allocations: 1.531 MB / 0.8445 GB, free: 64.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.235e-05/1.255, allocations: 309 kB / 0.8448 GB, free: 64.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/1.259, allocations: 4.144 MB / 0.8488 GB, free: 60.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00576/1.265, allocations: 7.266 MB / 0.8559 GB, free: 51.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.276, allocations: 11.92 MB / 0.8675 GB, free: 38.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-05/1.276, allocations: 32 kB / 0.8676 GB, free: 38.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01626/1.292, allocations: 13.11 MB / 0.8804 GB, free: 25.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/1.292, allocations: 48 kB / 0.8804 GB, free: 24.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.293, allocations: 104 kB / 0.8805 GB, free: 24.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/1.298, allocations: 3.094 MB / 0.8835 GB, free: 21.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004645/1.303, allocations: 1.591 MB / 0.8851 GB, free: 20.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005608/1.303, allocations: 338.9 kB / 0.8854 GB, free: 19.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004551/1.308, allocations: 1.065 MB / 0.8865 GB, free: 18.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/1.308, allocations: 380 kB / 0.8868 GB, free: 18.39 MB / 0.545 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.006326/1.315, allocations: 5.389 MB / 0.8921 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/1.315, allocations: 0.4976 MB / 0.8926 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.328, allocations: 9.639 MB / 0.902 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/1.328, allocations: 48 kB / 0.902 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.328, allocations: 0 / 0.902 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/1.328, allocations: 23.91 kB / 0.902 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.359, allocations: 20.81 MB / 0.9224 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.359, allocations: 0 / 0.9224 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/1.362, allocations: 0.7294 MB / 0.9231 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006035/1.368, allocations: 2.965 MB / 0.926 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/1.369, allocations: 95.98 kB / 0.9261 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005937/1.369, allocations: 146.4 kB / 0.9262 GB, free: 9.988 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.369, allocations: 7.938 kB / 0.9262 GB, free: 9.98 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2242/1.593, allocations: 14.19 MB / 0.9401 GB, free: 193.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003066/1.596, allocations: 1.362 MB / 0.9414 GB, free: 193.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006907/1.597, allocations: 76.56 kB / 0.9415 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/1.6, allocations: 382.5 kB / 0.9418 GB, free: 193.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000817/1.601, allocations: 312.3 kB / 0.9421 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.601, allocations: 132 kB / 0.9423 GB, free: 193.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004992/1.606, allocations: 3.422 MB / 0.9456 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.51e-07/1.606, allocations: 6.328 kB / 0.9456 GB, free: 192.1 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007308/1.613, allocations: 3.194 MB / 0.9487 GB, free: 191.4 MB / 0.5763 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.01854/1.632, allocations: 14.93 MB / 0.9633 GB, free: 185.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.646, allocations: 9.881 MB / 0.973 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.646, allocations: 1.312 kB / 0.973 GB, free: 181.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00655/1.652, allocations: 4.443 MB / 0.9773 GB, free: 180.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005299/1.657, allocations: 1.185 MB / 0.9785 GB, free: 180 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1085/1.766, allocations: 95.57 MB / 1.072 GB, free: 81.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00773/1.774, allocations: 9.01 MB / 1.081 GB, free: 72.75 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.00636/1.78, allocations: 2.869 MB / 1.083 GB, free: 69.87 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004538/1.785, allocations: 4.67 MB / 1.088 GB, free: 65.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.213e-06/1.785, allocations: 4 kB / 1.088 GB, free: 65.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/2.881, allocations: 175.1 MB / 1.259 GB, free: 100.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.881, allocations: 240.5 kB / 1.259 GB, free: 99.92 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.139/8.02, allocations: 4.062 kB / 1.259 GB, free: 99.91 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches