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.001378/0.001378, allocations: 107.6 kB / 21.18 MB, free: 0.5781 MB / 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.001591/0.001591, allocations: 213.3 kB / 24.48 MB, free: 3.867 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.439/1.439, 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.002005/0.002005, allocations: 58.58 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2484, allocations: 49.16 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0144/0.2628, allocations: 14.51 MB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.2731, allocations: 4.149 MB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.2769, allocations: 134.6 kB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0177/0.2946, allocations: 6.951 MB / 422.1 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.3024, allocations: 1.384 MB / 423.5 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.3069, allocations: 1.337 MB / 424.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01244/0.3193, allocations: 8.618 MB / 433.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02702/0.3463, allocations: 14.31 MB / 447.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008681/0.355, allocations: 5.066 MB / 452.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.3652, allocations: 5.4 MB / 458.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003773/0.3689, allocations: 1.402 MB / 459.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.3744, allocations: 1.652 MB / 461.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004545/0.379, allocations: 2.724 MB / 464 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008596/0.3876, allocations: 4.179 MB / 468.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02452/0.4121, allocations: 18.67 MB / 486.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4121, allocations: 0 / 486.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4121, allocations: 0 / 486.8 MB, free: 8.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004906/0.4126, allocations: 4 kB / 486.9 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.03275/0.4454, allocations: 10.9 MB / 497.7 MB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.4454, allocations: 11.98 kB / 497.8 MB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004812/0.4502, allocations: 1.348 MB / 499.1 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0313/0.4815, allocations: 5.754 MB / 0.493 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.4934, allocations: 4.914 MB / 0.4978 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008409/0.4943, allocations: 0.7026 MB / 0.4985 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/0.4977, allocations: 0.9218 MB / 0.4994 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03537/0.5331, allocations: 13.68 MB / 0.5128 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/0.5335, allocations: 4 kB / 0.5128 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002987/0.5365, allocations: 388 kB / 0.5131 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005637/0.5371, allocations: 459.9 kB / 0.5136 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02867/0.5657, allocations: 12.78 MB / 0.5261 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4394/1.005, allocations: 40.91 MB / 0.566 GB, free: 117.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.022, allocations: 5.311 MB / 0.5712 GB, free: 117.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/1.026, allocations: 1.702 MB / 0.5729 GB, free: 117.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/1.041, allocations: 5.386 MB / 0.5781 GB, free: 117.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/1.041, allocations: 54.81 kB / 0.5782 GB, free: 117.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 7.274e-06/1.041, allocations: 0 / 0.5782 GB, free: 117.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.01163/1.053, allocations: 4.24 MB / 0.5823 GB, free: 116.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.053, allocations: 77.12 kB / 0.5824 GB, free: 116.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004905/1.058, allocations: 3.501 MB / 0.5858 GB, free: 115.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/1.058, allocations: 53.67 kB / 0.5859 GB, free: 115.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.06, allocations: 4.344 MB / 0.5901 GB, free: 112.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/1.061, allocations: 0.7293 MB / 0.5908 GB, free: 112.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.062, allocations: 1.066 MB / 0.5919 GB, free: 111.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/1.062, allocations: 301.1 kB / 0.5921 GB, free: 111.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/1.064, allocations: 2.044 MB / 0.5941 GB, free: 110.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/1.067, allocations: 4.686 MB / 0.5987 GB, free: 106.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005833/1.073, allocations: 7.099 MB / 0.6056 GB, free: 100.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/1.073, allocations: 24.53 kB / 0.6057 GB, free: 100.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009199/1.083, allocations: 7.023 MB / 0.6125 GB, free: 97.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/1.083, allocations: 43.47 kB / 0.6126 GB, free: 97.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.083, allocations: 91.91 kB / 0.6127 GB, free: 97.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008102/1.084, allocations: 427 kB / 0.6131 GB, free: 97.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/1.087, allocations: 1.18 MB / 0.6142 GB, free: 96.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/1.091, allocations: 4.207 MB / 0.6183 GB, free: 93.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/1.095, allocations: 0.7384 MB / 0.619 GB, free: 93.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/1.095, allocations: 284.5 kB / 0.6193 GB, free: 93.38 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.004598/1.1, allocations: 3.483 MB / 0.6227 GB, free: 90.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005958/1.1, allocations: 305.5 kB / 0.623 GB, free: 90.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/1.104, allocations: 3.3 MB / 0.6262 GB, free: 86.75 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002842/1.107, allocations: 2.538 MB / 0.6287 GB, free: 84.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.107, allocations: 4 kB / 0.6287 GB, free: 84.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.107, allocations: 11.97 kB / 0.6287 GB, free: 84.19 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.122, allocations: 9.045 MB / 0.6376 GB, free: 75.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.122, allocations: 7.938 kB / 0.6376 GB, free: 75.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.123, allocations: 355.5 kB / 0.6379 GB, free: 74.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006237/1.124, allocations: 317.2 kB / 0.6382 GB, free: 74.44 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.124, allocations: 47.92 kB / 0.6383 GB, free: 74.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/1.127, allocations: 4.035 MB / 0.6422 GB, free: 70.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.127, allocations: 7.938 kB / 0.6422 GB, free: 70.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/1.133, allocations: 4.696 MB / 0.6468 GB, free: 65.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.134, allocations: 0.5444 MB / 0.6473 GB, free: 64.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/1.134, allocations: 36 kB / 0.6474 GB, free: 64.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.135, allocations: 127.8 kB / 0.6475 GB, free: 64.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.136, allocations: 141.6 kB / 0.6476 GB, free: 64.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.754e-05/1.136, allocations: 55.98 kB / 0.6477 GB, free: 64.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002442/1.138, allocations: 2.194 MB / 0.6498 GB, free: 62.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.138, allocations: 0 / 0.6498 GB, free: 62.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004407/1.143, 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.005265/1.148, allocations: 5.348 MB / 0.657 GB, free: 54.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00553/1.153, allocations: 4.517 MB / 0.6615 GB, free: 50.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.153, allocations: 0.75 kB / 0.6615 GB, free: 50.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.155, 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.002707/1.158, allocations: 0.6903 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.04929/1.207, allocations: 42.98 MB / 0.7055 GB, free: 2.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006447/1.214, allocations: 5.332 MB / 0.7107 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004442/1.218, allocations: 1.832 MB / 0.7125 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004519/1.222, allocations: 2.85 MB / 0.7153 GB, free: 8.039 MB / 494.1 MB Notification: Performance of SimCode: time 1.734e-06/1.222, allocations: 0 / 0.7153 GB, free: 8.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3333/1.556, allocations: 92.79 MB / 0.8059 GB, free: 142.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.66, allocations: 11.58 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.210580743849277]