Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.001022/0.001022, allocations: 112 kB / 16.92 MB, free: 5.883 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.001051/0.001051, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.274/1.274, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 42.97 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08902, allocations: 49.44 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01603/0.1051, allocations: 16.49 MB / 366.7 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1561/0.2612, allocations: 4.078 MB / 370.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.2642, allocations: 137.6 kB / 370.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01559/0.2798, allocations: 7.437 MB / 378.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.2853, allocations: 1.473 MB / 379.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.2883, allocations: 1.09 MB / 380.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008324/0.2967, allocations: 8.177 MB / 389 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03127/0.328, allocations: 22.62 MB / 411.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007381/0.3354, allocations: 4.795 MB / 416.5 MB, free: 120 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008746/0.3442, allocations: 5.328 MB / 421.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003162/0.3474, allocations: 1.387 MB / 423.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.3518, allocations: 1.639 MB / 424.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.3543, allocations: 2.59 MB / 427.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.3615, allocations: 5.221 MB / 432.6 MB, free: 112 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.3778, allocations: 18.18 MB / 450.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3778, allocations: 3.938 kB / 450.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3778, allocations: 0 / 450.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003877/0.3782, allocations: 0 / 450.8 MB, free: 14.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02851/0.4068, allocations: 10.43 MB / 461.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.4068, allocations: 12.03 kB / 461.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00419/0.411, allocations: 1.298 MB / 462.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/0.4307, allocations: 3.731 MB / 466.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.4416, allocations: 5.175 MB / 471.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007187/0.4423, allocations: 0.6844 MB / 472.1 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/0.4457, allocations: 0.8981 MB / 473 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/0.4799, allocations: 12.72 MB / 485.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004878/0.4805, allocations: 3.906 kB / 485.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003279/0.4837, allocations: 379 kB / 486.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.4842, allocations: 395.1 kB / 486.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/0.5092, allocations: 11.41 MB / 497.9 MB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07092/0.5801, allocations: 43.68 MB / 0.5289 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3344/0.9145, allocations: 10.5 MB / 0.5392 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/0.9169, allocations: 1.686 MB / 0.5408 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.9172, allocations: 136.9 kB / 0.5409 GB, free: 127 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.9172, allocations: 57.5 kB / 0.541 GB, free: 126.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.248e-06/0.9172, allocations: 0 / 0.541 GB, free: 126.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008298/0.9255, allocations: 4.66 MB / 0.5455 GB, free: 125.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.9256, allocations: 79.3 kB / 0.5456 GB, free: 125.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004289/0.9299, allocations: 2.925 MB / 0.5485 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.9301, allocations: 61.02 kB / 0.5485 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.9319, allocations: 3.832 MB / 0.5523 GB, free: 121.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.9325, allocations: 0.7865 MB / 0.553 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.9337, allocations: 0.9479 MB / 0.554 GB, free: 120.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.9337, allocations: 302.5 kB / 0.5543 GB, free: 120.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/0.9364, allocations: 1.971 MB / 0.5562 GB, free: 119.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003653/0.94, allocations: 4.157 MB / 0.5602 GB, free: 116.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.9463, allocations: 6.511 MB / 0.5666 GB, free: 111.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.47e-05/0.9464, allocations: 23.75 kB / 0.5666 GB, free: 111.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00994/0.9564, allocations: 6.503 MB / 0.573 GB, free: 108.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.9565, allocations: 38.88 kB / 0.573 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.9566, allocations: 72.41 kB / 0.5731 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008104/0.9575, allocations: 415.8 kB / 0.5735 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.9606, allocations: 1.057 MB / 0.5745 GB, free: 108.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004132/0.9647, allocations: 4.399 MB / 0.5788 GB, free: 105.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/0.968, allocations: 0.6204 MB / 0.5794 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/0.9685, allocations: 247.2 kB / 0.5796 GB, free: 105.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * 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.00548/0.9739, allocations: 3.375 MB / 0.5829 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.9745, allocations: 272.1 kB / 0.5832 GB, free: 103.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.9792, allocations: 3.582 MB / 0.5867 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003111/0.9823, allocations: 2.802 MB / 0.5894 GB, free: 99.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.9823, allocations: 4 kB / 0.5894 GB, free: 99.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.9824, allocations: 11.95 kB / 0.5895 GB, free: 99.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/0.9947, allocations: 9.94 MB / 0.5992 GB, free: 89.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9947, allocations: 0 / 0.5992 GB, free: 89.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.9962, allocations: 415.2 kB / 0.5996 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006381/0.9968, allocations: 320.7 kB / 0.5999 GB, free: 88.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.9969, allocations: 47.94 kB / 0.5999 GB, free: 88.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/1.001, allocations: 4.203 MB / 0.604 GB, free: 84.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.001, allocations: 0 / 0.604 GB, free: 84.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/1.006, allocations: 5.107 MB / 0.609 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/1.007, allocations: 0.6103 MB / 0.6096 GB, free: 78.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/1.007, allocations: 43.98 kB / 0.6096 GB, free: 78.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.008, allocations: 135.8 kB / 0.6098 GB, free: 78.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.009, allocations: 141.8 kB / 0.6099 GB, free: 78.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.009, allocations: 63.98 kB / 0.61 GB, free: 78.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002193/1.011, allocations: 1.967 MB / 0.6119 GB, free: 76.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.011, allocations: 4 kB / 0.6119 GB, free: 76.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004586/1.015, allocations: 1.954 MB / 0.6138 GB, free: 74.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (215): * Single equations (assignments): 213 * 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.005774/1.021, allocations: 5.785 MB / 0.6194 GB, free: 68.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009952/1.031, allocations: 6.965 MB / 0.6262 GB, free: 61.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.031, allocations: 0 / 0.6262 GB, free: 61.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/1.033, allocations: 1.739 MB / 0.6279 GB, free: 59.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.036, allocations: 0.6716 MB / 0.6286 GB, free: 59.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/1.083, allocations: 43.27 MB / 0.6709 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007786/1.091, allocations: 5.649 MB / 0.6764 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003877/1.095, allocations: 1.686 MB / 0.678 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/1.098, allocations: 2.729 MB / 0.6807 GB, free: 1.586 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/1.098, allocations: 0 / 0.6807 GB, free: 1.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2847/1.383, allocations: 90.39 MB / 0.769 GB, free: 96.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/12.01, allocations: 9.312 kB / 0.769 GB, free: 96.46 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches