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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8782/0.8782, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.267e-05, allocations: 6.219 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.0109/0.01092, allocations: 14.24 MB / 332.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.01887, allocations: 3.978 MB / 336.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.02198, allocations: 159.2 kB / 336.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008732/0.03071, allocations: 7.343 MB / 344.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005412/0.03613, allocations: 1.513 MB / 345.7 MB, free: 11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.03819, allocations: 1.084 MB / 346.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006959/0.04515, allocations: 8.589 MB / 355.3 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/0.06385, allocations: 14.26 MB / 369.6 MB, free: 2.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.07503, allocations: 7.314 MB / 376.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006752/0.08178, allocations: 4.632 MB / 381.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00291/0.08469, allocations: 1.383 MB / 382.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.08879, allocations: 1.644 MB / 384.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.09198, allocations: 2.63 MB / 387.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006791/0.09878, allocations: 3.482 MB / 390.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.1168, allocations: 18.52 MB / 409.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1168, allocations: 0 / 409.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1169, allocations: 4 kB / 409.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004588/0.1173, allocations: 4 kB / 409.2 MB, free: 11.15 MB / 378.7 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.02367/0.141, allocations: 10.46 MB / 419.7 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.141, allocations: 8.922 kB / 419.7 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003085/0.1441, allocations: 1.294 MB / 421 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.155, allocations: 3.784 MB / 424.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009172/0.1642, allocations: 5.409 MB / 430.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/0.1647, allocations: 0.6903 MB / 430.9 MB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003938/0.1687, allocations: 0.8905 MB / 431.8 MB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02393/0.1926, allocations: 12.79 MB / 444.5 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.1928, allocations: 7.953 kB / 444.6 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/0.1938, allocations: 376 kB / 444.9 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002625/0.1941, allocations: 407.1 kB / 445.3 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2846/0.4786, allocations: 11.38 MB / 456.7 MB, free: 107.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04585/0.5245, allocations: 38.93 MB / 495.6 MB, free: 74.75 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/0.5292, allocations: 4.159 MB / 499.8 MB, free: 70.86 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.5305, allocations: 1.527 MB / 0.4896 GB, free: 69.34 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.5307, allocations: 57.95 kB / 0.4896 GB, free: 69.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5307, allocations: 56.5 kB / 0.4897 GB, free: 69.22 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.017e-06/0.5307, allocations: 0 / 0.4897 GB, free: 69.22 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004945/0.5357, allocations: 4.59 MB / 0.4942 GB, free: 64.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5357, allocations: 73.41 kB / 0.4942 GB, free: 64.55 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.5383, allocations: 3.066 MB / 0.4972 GB, free: 61.57 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5384, allocations: 61.7 kB / 0.4973 GB, free: 61.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/0.5394, allocations: 3.967 MB / 0.5012 GB, free: 57.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.5397, allocations: 0.8243 MB / 0.502 GB, free: 57.08 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007118/0.5404, allocations: 0.941 MB / 0.5029 GB, free: 56.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.53e-05/0.5404, allocations: 309.1 kB / 0.5032 GB, free: 55.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.542, allocations: 1.969 MB / 0.5051 GB, free: 53.85 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.5439, allocations: 4.157 MB / 0.5092 GB, free: 48.62 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.5478, allocations: 6.509 MB / 0.5155 GB, free: 41.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-05/0.5478, allocations: 28 kB / 0.5155 GB, free: 41.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005752/0.5536, allocations: 6.508 MB / 0.5219 GB, free: 34.52 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.5536, allocations: 36 kB / 0.5219 GB, free: 34.48 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-05/0.5537, allocations: 76 kB / 0.522 GB, free: 34.41 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.5542, allocations: 413.3 kB / 0.5224 GB, free: 34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.5558, allocations: 1.061 MB / 0.5234 GB, free: 32.94 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.5586, allocations: 4.22 MB / 0.5276 GB, free: 28.61 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.5606, allocations: 0.6364 MB / 0.5282 GB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.5608, allocations: 244 kB / 0.5284 GB, free: 27.73 MB / 410.8 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.00335/0.5642, allocations: 3.373 MB / 0.5317 GB, free: 24.34 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.5645, allocations: 286.2 kB / 0.532 GB, free: 24.06 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.5677, allocations: 3.569 MB / 0.5355 GB, free: 20.46 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002229/0.5699, allocations: 2.799 MB / 0.5382 GB, free: 17.66 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5699, allocations: 4 kB / 0.5382 GB, free: 17.65 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.5699, allocations: 11.97 kB / 0.5382 GB, free: 17.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/0.5798, allocations: 9.575 MB / 0.5476 GB, free: 8.035 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5798, allocations: 4 kB / 0.5476 GB, free: 8.031 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.5806, allocations: 411.4 kB / 0.548 GB, free: 7.629 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.581, allocations: 320.7 kB / 0.5483 GB, free: 7.312 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-05/0.5811, allocations: 43.94 kB / 0.5483 GB, free: 7.27 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.5836, allocations: 4.032 MB / 0.5522 GB, free: 3.129 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5836, allocations: 7.984 kB / 0.5523 GB, free: 3.121 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/0.5885, allocations: 5.123 MB / 0.5573 GB, free: 13.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009747/0.5895, allocations: 0.5522 MB / 0.5578 GB, free: 13.41 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.5897, allocations: 47.95 kB / 0.5578 GB, free: 13.36 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.5904, allocations: 135.8 kB / 0.558 GB, free: 13.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/0.5906, allocations: 157.8 kB / 0.5581 GB, free: 13.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.853e-05/0.5907, allocations: 63.98 kB / 0.5582 GB, free: 13.01 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002198/0.5929, allocations: 1.959 MB / 0.5601 GB, free: 11.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5929, allocations: 0 / 0.5601 GB, free: 11.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004102/0.597, allocations: 1.988 MB / 0.562 GB, free: 9.047 MB / 426.8 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.005711/0.6027, allocations: 5.791 MB / 0.5677 GB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.005512/0.6082, allocations: 4.434 MB / 0.572 GB, free: 14.77 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6082, allocations: 0 / 0.572 GB, free: 14.77 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.6099, allocations: 1.62 MB / 0.5736 GB, free: 13.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.6119, allocations: 0.6708 MB / 0.5743 GB, free: 12.49 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04794/0.6598, allocations: 40.23 MB / 0.6135 GB, free: 1.598 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1485/0.8084, allocations: 5.173 MB / 0.6186 GB, free: 161.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002353/0.8107, allocations: 1.701 MB / 0.6203 GB, free: 161.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/0.813, allocations: 2.732 MB / 0.6229 GB, free: 159.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.132e-06/0.813, allocations: 0 / 0.6229 GB, free: 159.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08071/0.8937, allocations: 91.4 MB / 0.7122 GB, free: 76.82 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/10.13, allocations: 14.44 kB / 0.7122 GB, free: 76.81 MB / 474.8 MB " [Timeout remaining time 650] (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 --stepSize=0.0001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.175535446964204]