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.001291/0.001291, allocations: 113.4 kB / 17.73 MB, free: 5.328 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.001476/0.001476, allocations: 188.2 kB / 18.66 MB, free: 4.406 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.485/1.485, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001355/0.001355, allocations: 47.94 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1128, allocations: 46.61 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2331/0.3459, allocations: 16.86 MB / 391.5 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3565, allocations: 4.236 MB / 395.7 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.3604, allocations: 114.6 kB / 395.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01753/0.378, allocations: 7.462 MB / 403.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00761/0.3856, allocations: 1.541 MB / 404.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.3902, allocations: 1.213 MB / 406.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01346/0.4036, allocations: 8.571 MB / 414.6 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0371/0.4408, allocations: 22.57 MB / 437.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009014/0.4499, allocations: 4.964 MB / 442.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009935/0.4598, allocations: 5.532 MB / 447.7 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004358/0.4642, allocations: 1.402 MB / 449.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005981/0.4702, allocations: 1.668 MB / 450.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004329/0.4746, allocations: 2.704 MB / 453.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.4849, allocations: 5.382 MB / 458.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.506, allocations: 18.53 MB / 477.4 MB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.506, allocations: 0 / 477.4 MB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.506, allocations: 0 / 477.4 MB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006039/0.5066, allocations: 0 / 477.4 MB, free: 8.938 MB / 398.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.03246/0.5391, allocations: 10.79 MB / 488.2 MB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5392, allocations: 8.031 kB / 488.2 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004249/0.5434, allocations: 1.344 MB / 489.5 MB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02857/0.572, allocations: 5.702 MB / 495.2 MB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.5825, allocations: 4.853 MB / 0.4884 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006029/0.5831, allocations: 0.6987 MB / 0.4891 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003716/0.5869, allocations: 0.9218 MB / 0.49 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03165/0.6185, allocations: 13.59 MB / 0.5032 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/0.6188, allocations: 15.89 kB / 0.5033 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.6205, allocations: 384 kB / 0.5036 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003804/0.6209, allocations: 460 kB / 0.5041 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.6461, allocations: 12.82 MB / 0.5166 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.336/0.9821, allocations: 46.33 MB / 0.5618 GB, free: 121.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.9968, allocations: 17.1 MB / 0.5785 GB, free: 107.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.9998, allocations: 1.865 MB / 0.5803 GB, free: 107.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/1.011, allocations: 5.964 MB / 0.5862 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.011, allocations: 50.81 kB / 0.5862 GB, free: 106.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.068e-06/1.011, allocations: 0 / 0.5862 GB, free: 106.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007934/1.019, allocations: 4.309 MB / 0.5904 GB, free: 106 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.019, allocations: 74.84 kB / 0.5905 GB, free: 105.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005404/1.024, allocations: 3.327 MB / 0.5937 GB, free: 105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.025, allocations: 57.61 kB / 0.5938 GB, free: 104.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.027, allocations: 4.184 MB / 0.5979 GB, free: 101.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/1.028, allocations: 0.6983 MB / 0.5986 GB, free: 101.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/1.029, allocations: 1.056 MB / 0.5996 GB, free: 100.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/1.029, allocations: 309 kB / 0.5999 GB, free: 100.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/1.031, allocations: 2.045 MB / 0.6019 GB, free: 99.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/1.035, allocations: 4.689 MB / 0.6065 GB, free: 95.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006188/1.041, allocations: 7.096 MB / 0.6134 GB, free: 89.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.802e-05/1.041, allocations: 26.19 kB / 0.6134 GB, free: 89.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009203/1.05, allocations: 7.013 MB / 0.6203 GB, free: 86.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/1.05, allocations: 43.22 kB / 0.6203 GB, free: 86.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/1.05, allocations: 94.47 kB / 0.6204 GB, free: 86.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/1.051, allocations: 427.4 kB / 0.6208 GB, free: 86.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/1.055, allocations: 1.181 MB / 0.622 GB, free: 86.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/1.059, allocations: 4.376 MB / 0.6262 GB, free: 83.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/1.063, allocations: 0.7157 MB / 0.6269 GB, free: 82.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00079/1.064, allocations: 289.8 kB / 0.6272 GB, free: 82.62 MB / 478.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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005645/1.07, allocations: 3.489 MB / 0.6306 GB, free: 80.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/1.07, allocations: 287.1 kB / 0.6309 GB, free: 80.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/1.075, allocations: 3.304 MB / 0.6341 GB, free: 76.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002783/1.077, allocations: 2.546 MB / 0.6366 GB, free: 74.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.077, allocations: 4 kB / 0.6366 GB, free: 74.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/1.077, allocations: 15.94 kB / 0.6366 GB, free: 74.29 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.092, allocations: 9.295 MB / 0.6457 GB, free: 64.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/1.092, allocations: 4 kB / 0.6457 GB, free: 64.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.093, allocations: 355.5 kB / 0.646 GB, free: 64.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/1.094, allocations: 308.6 kB / 0.6463 GB, free: 64.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.094, allocations: 47.98 kB / 0.6464 GB, free: 64.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003652/1.097, allocations: 4.191 MB / 0.6505 GB, free: 59.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.098, allocations: 3.984 kB / 0.6505 GB, free: 59.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005858/1.103, allocations: 4.707 MB / 0.6551 GB, free: 55.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.105, allocations: 0.5868 MB / 0.6557 GB, free: 54.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/1.105, allocations: 36 kB / 0.6557 GB, free: 54.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/1.106, allocations: 128.7 kB / 0.6558 GB, free: 54.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.107, allocations: 133.7 kB / 0.6559 GB, free: 54.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.107, allocations: 56.05 kB / 0.656 GB, free: 54.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003014/1.11, allocations: 2.198 MB / 0.6581 GB, free: 52.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.4e-07/1.11, allocations: 0 / 0.6581 GB, free: 52.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005782/1.115, allocations: 2.03 MB / 0.6601 GB, free: 49.99 MB / 478.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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005824/1.121, allocations: 5.354 MB / 0.6653 GB, free: 44.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006833/1.128, allocations: 4.717 MB / 0.67 GB, free: 39.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.128, allocations: 4 kB / 0.67 GB, free: 39.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/1.13, allocations: 1.598 MB / 0.6715 GB, free: 38.28 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.133, allocations: 0.6793 MB / 0.6722 GB, free: 37.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05775/1.191, allocations: 42.61 MB / 0.7138 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009528/1.2, allocations: 5.792 MB / 0.7195 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005171/1.206, allocations: 1.82 MB / 0.7212 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005679/1.211, allocations: 2.858 MB / 0.724 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.211, allocations: 0 / 0.724 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/1.572, allocations: 91.15 MB / 0.813 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.87, allocations: 3.875 kB / 0.813 GB, free: 152.9 MB / 0.5137 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches