Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008834/0.0008834, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8699/0.8699, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.838e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01039/0.0104, allocations: 14.27 MB / 338.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.01722, allocations: 4.032 MB / 342.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.01908, allocations: 167.2 kB / 343 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006694/0.02578, allocations: 7.335 MB / 350.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.02943, allocations: 1.366 MB / 351.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.03141, allocations: 1.226 MB / 353 MB, free: 3.418 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00641/0.03782, allocations: 8.584 MB / 361.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01626/0.05408, allocations: 14.26 MB / 375.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009601/0.06368, allocations: 7.322 MB / 383.1 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006791/0.07047, allocations: 4.628 MB / 387.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003051/0.07352, allocations: 1.387 MB / 389.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.07747, allocations: 1.671 MB / 390.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002611/0.08008, allocations: 2.626 MB / 393.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006048/0.08613, allocations: 3.49 MB / 396.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.1006, allocations: 18.53 MB / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1006, allocations: 0 / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1006, allocations: 0 / 415.5 MB, free: 4.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004425/0.1011, allocations: 0 / 415.5 MB, free: 4.617 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.02038/0.1214, allocations: 10.47 MB / 425.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1215, allocations: 12.03 kB / 426 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002645/0.1241, allocations: 1.294 MB / 427.2 MB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.1352, allocations: 3.718 MB / 431 MB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008433/0.1436, allocations: 5.429 MB / 436.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003725/0.144, allocations: 0.6824 MB / 437.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/0.146, allocations: 0.8867 MB / 438 MB, free: 13.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.1669, allocations: 12.8 MB / 450.8 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.167, allocations: 15.88 kB / 450.8 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.1683, allocations: 380 kB / 451.2 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002332/0.1685, allocations: 399.1 kB / 451.5 MB, free: 348 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2947/0.4632, allocations: 11.4 MB / 462.9 MB, free: 101.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.5062, allocations: 39 MB / 0.4902 GB, free: 62.62 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.5108, allocations: 4.163 MB / 0.4942 GB, free: 58.72 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.5122, allocations: 1.534 MB / 0.4957 GB, free: 57.19 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.5123, allocations: 73.81 kB / 0.4958 GB, free: 57.12 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5124, allocations: 56.56 kB / 0.4959 GB, free: 57.06 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.529e-06/0.5124, allocations: 0 / 0.4959 GB, free: 57.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.005049/0.5174, allocations: 4.604 MB / 0.5004 GB, free: 52.46 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5175, allocations: 77.41 kB / 0.5004 GB, free: 52.37 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.52, allocations: 3.067 MB / 0.5034 GB, free: 49.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.52, allocations: 61.64 kB / 0.5035 GB, free: 49.32 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000939/0.521, allocations: 3.956 MB / 0.5073 GB, free: 45.72 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.5213, allocations: 0.8239 MB / 0.5082 GB, free: 44.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007148/0.522, allocations: 0.9488 MB / 0.5091 GB, free: 43.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.566e-05/0.522, allocations: 305.1 kB / 0.5094 GB, free: 43.64 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.5235, allocations: 1.98 MB / 0.5113 GB, free: 41.66 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.5255, allocations: 4.161 MB / 0.5154 GB, free: 36.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003937/0.5294, allocations: 6.517 MB / 0.5217 GB, free: 28.87 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-05/0.5294, allocations: 24 kB / 0.5218 GB, free: 28.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005846/0.5353, allocations: 6.524 MB / 0.5281 GB, free: 22.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.5353, allocations: 40.19 kB / 0.5282 GB, free: 22.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.589e-05/0.5354, allocations: 76 kB / 0.5282 GB, free: 22.2 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.5359, allocations: 412.5 kB / 0.5286 GB, free: 21.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.5376, allocations: 1.065 MB / 0.5297 GB, free: 20.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.5405, allocations: 4.21 MB / 0.5338 GB, free: 16.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.5425, allocations: 0.6297 MB / 0.5344 GB, free: 15.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.5427, allocations: 252 kB / 0.5346 GB, free: 15.51 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.003332/0.546, allocations: 3.372 MB / 0.5379 GB, free: 12.12 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000377/0.5464, allocations: 286.2 kB / 0.5382 GB, free: 11.84 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.5495, allocations: 3.569 MB / 0.5417 GB, free: 8.246 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002157/0.5517, allocations: 2.811 MB / 0.5444 GB, free: 5.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5517, allocations: 4 kB / 0.5444 GB, free: 5.426 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5517, allocations: 11.95 kB / 0.5444 GB, free: 5.414 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009878/0.5616, allocations: 9.599 MB / 0.5538 GB, free: 11.79 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5616, allocations: 3.984 kB / 0.5538 GB, free: 11.78 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009587/0.5626, allocations: 419.4 kB / 0.5542 GB, free: 11.37 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.5631, allocations: 313.1 kB / 0.5545 GB, free: 11.06 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.5632, allocations: 55.92 kB / 0.5546 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.5667, allocations: 4.03 MB / 0.5585 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5667, allocations: 4.031 kB / 0.5585 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004873/0.5715, allocations: 5.13 MB / 0.5635 GB, free: 1.703 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009477/0.5725, allocations: 0.5638 MB / 0.5641 GB, free: 1.137 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.5727, allocations: 40 kB / 0.5641 GB, free: 1.098 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.5733, allocations: 135.8 kB / 0.5642 GB, free: 0.9648 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.5735, allocations: 161.7 kB / 0.5644 GB, free: 0.8047 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.454e-05/0.5736, allocations: 67.98 kB / 0.5645 GB, free: 0.7383 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002329/0.5759, allocations: 1.963 MB / 0.5664 GB, free: 14.76 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5759, allocations: 0 / 0.5664 GB, free: 14.76 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.003907/0.5798, allocations: 1.988 MB / 0.5683 GB, free: 12.77 MB / 442.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.005313/0.5851, allocations: 5.803 MB / 0.574 GB, free: 6.926 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00513/0.5903, allocations: 4.435 MB / 0.5783 GB, free: 2.488 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5903, allocations: 3.938 kB / 0.5783 GB, free: 2.484 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.5921, allocations: 1.623 MB / 0.5799 GB, free: 0.8477 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.594, allocations: 0.6766 MB / 0.5806 GB, free: 196 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04431/0.6383, allocations: 40.2 MB / 0.6198 GB, free: 5.328 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/0.6422, allocations: 5.164 MB / 0.6249 GB, free: 124 kB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.1443/0.7866, allocations: 1.697 MB / 0.6265 GB, free: 168.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002855/0.7894, allocations: 2.747 MB / 0.6292 GB, free: 168.3 MB / 490.8 MB Notification: Performance of SimCode: time 1.493e-06/0.7894, allocations: 0 / 0.6292 GB, free: 168.3 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09589/0.8853, allocations: 91.77 MB / 0.7188 GB, free: 88.84 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/10.04, allocations: 3.094 kB / 0.7188 GB, free: 88.84 MB / 490.8 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.015901134349406]