Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",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.0007241/0.0007241, allocations: 98.16 kB / 17.31 MB, free: 6.395 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.0007884/0.0007886, allocations: 177 kB / 18.2 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006782/0.0006783, allocations: 15.98 kB / 281.5 MB, free: 3.23 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 47.57 MB / 329.1 MB, free: 3.582 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01422/0.1158, allocations: 15.68 MB / 344.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008564/0.1244, allocations: 4.17 MB / 348.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.1262, allocations: 111.7 kB / 349 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.128, allocations: 1.023 MB / 350 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.1317, allocations: 1.357 MB / 351.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.1338, allocations: 1.107 MB / 352.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007826/0.1417, allocations: 8.299 MB / 360.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2009/0.3426, allocations: 22.17 MB / 383 MB, free: 18.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.3484, allocations: 3.412 MB / 386.4 MB, free: 18.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008196/0.3566, allocations: 4.064 MB / 390.4 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.3593, allocations: 0.5522 MB / 391 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.3637, allocations: 0.8026 MB / 391.8 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.367, allocations: 1.632 MB / 393.4 MB, free: 16.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006992/0.374, allocations: 4.202 MB / 397.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3865, allocations: 17.4 MB / 415 MB, free: 7.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3866, allocations: 0 / 415 MB, free: 7.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3866, allocations: 0 / 415 MB, free: 7.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005239/0.3871, allocations: 0 / 415 MB, free: 7.473 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02274/0.4098, allocations: 8.756 MB / 423.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4099, allocations: 12.84 kB / 423.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004182/0.4141, allocations: 1.351 MB / 425.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02937/0.4435, allocations: 5.727 MB / 430.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009714/0.4532, allocations: 4.844 MB / 435.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/0.4539, allocations: 0.7046 MB / 436.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003357/0.4572, allocations: 0.9203 MB / 437.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/0.492, allocations: 13.61 MB / 451 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002213/0.4922, allocations: 15.89 kB / 451 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/0.4937, allocations: 390.9 kB / 451.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004638/0.4942, allocations: 459.9 kB / 451.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/0.5216, allocations: 12.84 MB / 464.7 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07492/0.5966, allocations: 47.07 MB / 0.4997 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01467/0.6113, allocations: 17.11 MB / 0.5164 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002938/0.6142, allocations: 1.905 MB / 0.5183 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.6244, allocations: 6.095 MB / 0.5242 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.6245, allocations: 59.94 kB / 0.5243 GB, free: 14.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 3.657e-06/0.6245, allocations: 3.938 kB / 0.5243 GB, free: 14.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.00796/0.6325, allocations: 4.431 MB / 0.5286 GB, free: 10.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.6326, allocations: 73.41 kB / 0.5287 GB, free: 10.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0049/0.6375, allocations: 3.32 MB / 0.532 GB, free: 6.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002103/0.6377, allocations: 61.45 kB / 0.532 GB, free: 6.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.6402, allocations: 4.176 MB / 0.5361 GB, free: 2.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007152/0.6409, allocations: 0.7141 MB / 0.5368 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005154/0.6414, allocations: 412.9 kB / 0.5372 GB, free: 1.391 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.6415, allocations: 301.1 kB / 0.5375 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1661/0.8076, allocations: 2.081 MB / 0.5395 GB, free: 147.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.8121, allocations: 4.723 MB / 0.5441 GB, free: 144.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/0.8192, allocations: 7.175 MB / 0.5511 GB, free: 140.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.985e-05/0.8193, allocations: 25.78 kB / 0.5511 GB, free: 140.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=655) (initialization): time 0.01017/0.8295, allocations: 7.089 MB / 0.5581 GB, free: 137.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.8296, allocations: 43.28 kB / 0.5581 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.485e-05/0.8297, allocations: 98.53 kB / 0.5582 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008272/0.8305, allocations: 425.3 kB / 0.5586 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.8338, allocations: 1.176 MB / 0.5598 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/0.8381, allocations: 4.071 MB / 0.5637 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.8412, allocations: 0.7115 MB / 0.5644 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/0.8416, allocations: 293.7 kB / 0.5647 GB, free: 134.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (626): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004607/0.8462, allocations: 3.487 MB / 0.5681 GB, free: 132.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.8467, allocations: 290.8 kB / 0.5684 GB, free: 132.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.8512, allocations: 3.397 MB / 0.5717 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003197/0.8544, allocations: 2.626 MB / 0.5743 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.8544, allocations: 7.875 kB / 0.5743 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.8544, allocations: 10.81 kB / 0.5743 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/0.8665, allocations: 9.427 MB / 0.5835 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.8665, allocations: 3.938 kB / 0.5835 GB, free: 125.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.8678, allocations: 360.3 kB / 0.5838 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.8684, allocations: 314.5 kB / 0.5841 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.687e-05/0.8685, allocations: 47.75 kB / 0.5842 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.8719, allocations: 3.884 MB / 0.588 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8719, allocations: 0 / 0.588 GB, free: 121.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.8769, allocations: 4.842 MB / 0.5927 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/0.8777, allocations: 0.625 MB / 0.5933 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.878, allocations: 36 kB / 0.5934 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8791, allocations: 131 kB / 0.5935 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.8793, allocations: 131.9 kB / 0.5936 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.8794, allocations: 58.34 kB / 0.5937 GB, free: 116.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002508/0.8819, allocations: 2.198 MB / 0.5958 GB, free: 114.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.8819, allocations: 0 / 0.5958 GB, free: 114.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004369/0.8863, allocations: 2.029 MB / 0.5978 GB, free: 112.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005296/0.8916, allocations: 5.483 MB / 0.6031 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005639/0.8973, allocations: 4.806 MB / 0.6078 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8973, allocations: 0 / 0.6078 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.899, allocations: 1.639 MB / 0.6094 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.9022, allocations: 0.6576 MB / 0.6101 GB, free: 100.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05571/0.9579, allocations: 50.34 MB / 0.6592 GB, free: 45.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004499/0.9624, allocations: 5.8 MB / 0.6649 GB, free: 39.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003976/0.9664, allocations: 1.825 MB / 0.6667 GB, free: 37.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002946/0.9694, allocations: 2.835 MB / 0.6695 GB, free: 34.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.9694, allocations: 4 kB / 0.6695 GB, free: 34.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2562/1.226, allocations: 90.44 MB / 0.7578 GB, free: 106.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/1.226, allocations: 239.8 kB / 0.758 GB, free: 106.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/4.472, allocations: 0 / 0.758 GB, free: 106.6 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches