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.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.001969/0.001969, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002367/0.002367, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.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.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 51.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2826, allocations: 49.16 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01557/0.2982, allocations: 14.51 MB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3095, allocations: 4.151 MB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.3133, allocations: 138 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01801/0.3313, allocations: 6.949 MB / 422.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.339, allocations: 1.388 MB / 423.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.3434, allocations: 1.325 MB / 424.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.3557, allocations: 8.626 MB / 433.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02427/0.38, allocations: 14.3 MB / 447.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008457/0.3884, allocations: 5.07 MB / 452.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01162/0.4, allocations: 5.399 MB / 458.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004088/0.4041, allocations: 1.402 MB / 459.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/0.4098, allocations: 1.652 MB / 461.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004647/0.4145, allocations: 2.72 MB / 464 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01079/0.4253, allocations: 4.183 MB / 468.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02829/0.4536, allocations: 18.67 MB / 486.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4536, allocations: 0 / 486.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4536, allocations: 3.938 kB / 486.8 MB, free: 8.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005843/0.4541, allocations: 0 / 486.8 MB, free: 8.223 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.03325/0.4874, allocations: 10.9 MB / 497.7 MB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.4875, allocations: 15.98 kB / 497.8 MB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006409/0.4939, allocations: 1.34 MB / 499.1 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/0.5256, allocations: 5.758 MB / 0.493 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.5385, allocations: 4.907 MB / 0.4978 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.5396, allocations: 0.7065 MB / 0.4985 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00372/0.5433, allocations: 0.9218 MB / 0.4994 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03666/0.58, allocations: 13.67 MB / 0.5128 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004281/0.5804, allocations: 8 kB / 0.5128 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003272/0.5837, allocations: 391.9 kB / 0.5131 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006615/0.5843, allocations: 463.9 kB / 0.5136 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03042/0.6148, allocations: 12.78 MB / 0.5261 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4526/1.067, allocations: 40.89 MB / 0.566 GB, free: 117.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/1.079, allocations: 5.315 MB / 0.5712 GB, free: 117.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/1.081, allocations: 1.699 MB / 0.5729 GB, free: 117.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/1.092, allocations: 5.388 MB / 0.5781 GB, free: 117.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.092, allocations: 52.09 kB / 0.5782 GB, free: 117.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.859e-06/1.092, allocations: 0 / 0.5782 GB, free: 117.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007545/1.1, allocations: 4.237 MB / 0.5823 GB, free: 116.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.1, allocations: 78.17 kB / 0.5824 GB, free: 116.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004199/1.104, allocations: 3.503 MB / 0.5858 GB, free: 115.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.104, allocations: 57.52 kB / 0.5859 GB, free: 115.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/1.106, allocations: 4.351 MB / 0.5901 GB, free: 112.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004309/1.107, allocations: 0.7206 MB / 0.5908 GB, free: 112.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.108, allocations: 1.069 MB / 0.5918 GB, free: 111.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/1.108, allocations: 308.8 kB / 0.5921 GB, free: 111.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00243/1.11, allocations: 2.042 MB / 0.5941 GB, free: 110.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/1.114, allocations: 4.683 MB / 0.5987 GB, free: 106.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/1.121, allocations: 7.092 MB / 0.6056 GB, free: 100.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.121, allocations: 30.19 kB / 0.6057 GB, free: 100.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009633/1.131, allocations: 7.026 MB / 0.6125 GB, free: 97.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/1.131, allocations: 43.66 kB / 0.6126 GB, free: 97.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-05/1.131, allocations: 91.22 kB / 0.6127 GB, free: 97.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/1.132, allocations: 427.1 kB / 0.6131 GB, free: 97.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/1.135, allocations: 1.178 MB / 0.6142 GB, free: 96.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/1.139, allocations: 4.204 MB / 0.6183 GB, free: 93.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.143, allocations: 0.7425 MB / 0.619 GB, free: 93.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/1.143, allocations: 284.5 kB / 0.6193 GB, free: 93.39 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.004403/1.148, allocations: 3.488 MB / 0.6227 GB, free: 90.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/1.148, allocations: 298.1 kB / 0.623 GB, free: 90.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.153, allocations: 3.301 MB / 0.6262 GB, free: 86.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002783/1.155, allocations: 2.534 MB / 0.6287 GB, free: 84.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.155, allocations: 4 kB / 0.6287 GB, free: 84.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.155, allocations: 7.969 kB / 0.6287 GB, free: 84.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.168, allocations: 9.052 MB / 0.6376 GB, free: 75.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.168, allocations: 4.031 kB / 0.6376 GB, free: 75.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.169, allocations: 363.5 kB / 0.6379 GB, free: 74.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006062/1.17, allocations: 317.2 kB / 0.6382 GB, free: 74.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.17, allocations: 39.98 kB / 0.6382 GB, free: 74.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/1.174, allocations: 4.035 MB / 0.6422 GB, free: 70.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.174, allocations: 0 / 0.6422 GB, free: 70.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/1.179, allocations: 4.7 MB / 0.6468 GB, free: 65.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.18, allocations: 0.5443 MB / 0.6473 GB, free: 64.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/1.181, allocations: 36.06 kB / 0.6473 GB, free: 64.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.182, allocations: 135.8 kB / 0.6475 GB, free: 64.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.182, allocations: 145.5 kB / 0.6476 GB, free: 64.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.182, allocations: 56.08 kB / 0.6477 GB, free: 64.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002466/1.185, allocations: 2.194 MB / 0.6498 GB, free: 62.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.185, allocations: 0 / 0.6498 GB, free: 62.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004957/1.19, allocations: 2.058 MB / 0.6518 GB, free: 60.36 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.005713/1.195, allocations: 5.346 MB / 0.657 GB, free: 54.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006714/1.202, allocations: 4.514 MB / 0.6614 GB, free: 50.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.202, allocations: 4 kB / 0.6614 GB, free: 50.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.204, allocations: 1.477 MB / 0.6629 GB, free: 48.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.207, allocations: 0.696 MB / 0.6636 GB, free: 48.29 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05735/1.264, allocations: 42.97 MB / 0.7055 GB, free: 2.098 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006401/1.271, allocations: 5.332 MB / 0.7107 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004969/1.276, allocations: 1.828 MB / 0.7125 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005168/1.281, allocations: 2.854 MB / 0.7153 GB, free: 8.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/1.281, allocations: 0 / 0.7153 GB, free: 8.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.367/1.648, allocations: 92.8 MB / 0.8059 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/16.65, allocations: 6.812 kB / 0.8059 GB, free: 142.3 MB / 0.5138 GB " [Timeout remaining time 643] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.60964016104117]