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.001225/0.001225, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003457/0.003457, allocations: 164.6 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8666/0.8666, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.801e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1391/0.1391, allocations: 14.52 MB / 313 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00855/0.1476, allocations: 4.144 MB / 317.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.1515, allocations: 134.9 kB / 317.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0087/0.1602, allocations: 7.356 MB / 324.6 MB, free: 252 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006549/0.1668, allocations: 1.442 MB / 326 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.1705, allocations: 1.325 MB / 327.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009525/0.18, allocations: 8.905 MB / 336.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02096/0.201, allocations: 14.34 MB / 350.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.2134, allocations: 7.528 MB / 358.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008368/0.2217, allocations: 4.846 MB / 363 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0046/0.2263, allocations: 1.406 MB / 364.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005705/0.232, allocations: 1.671 MB / 366.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004695/0.2367, allocations: 2.758 MB / 368.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007262/0.244, allocations: 3.599 MB / 372.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.2627, allocations: 18.75 MB / 391.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2627, allocations: 1.031 kB / 391.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2627, allocations: 0 / 391.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005435/0.2633, allocations: 0 / 391.2 MB, free: 1.773 MB / 346.7 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.02699/0.2903, allocations: 10.81 MB / 402 MB, free: 6.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.2903, allocations: 11.98 kB / 402 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004076/0.2944, allocations: 1.348 MB / 403.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.3103, allocations: 5.758 MB / 409.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008043/0.3184, allocations: 4.918 MB / 414 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/0.3188, allocations: 0.7065 MB / 414.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/0.3216, allocations: 0.9218 MB / 415.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.347, allocations: 13.67 MB / 429.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.3472, allocations: 9.922 kB / 429.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/0.3492, allocations: 396 kB / 429.7 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/0.3495, allocations: 456 kB / 430.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/0.3719, allocations: 12.78 MB / 442.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3146/0.6865, allocations: 40.92 MB / 483.9 MB, free: 92.35 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006524/0.693, allocations: 5.298 MB / 489.2 MB, free: 90.83 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.6947, allocations: 1.701 MB / 490.9 MB, free: 89.96 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.7018, allocations: 5.379 MB / 496.2 MB, free: 86.95 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.7018, allocations: 58.16 kB / 496.3 MB, free: 86.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=188): time 4.809e-06/0.7018, allocations: 0 / 496.3 MB, free: 86.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=188): time 0.004691/0.7065, allocations: 4.239 MB / 0.4888 GB, free: 84.71 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.7065, allocations: 71.53 kB / 0.4889 GB, free: 84.64 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.7097, allocations: 3.499 MB / 0.4923 GB, free: 82.82 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.7098, allocations: 61.02 kB / 0.4924 GB, free: 82.76 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.7112, allocations: 4.323 MB / 0.4966 GB, free: 79.61 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003991/0.7116, allocations: 0.721 MB / 0.4973 GB, free: 79 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008605/0.7125, allocations: 1.053 MB / 0.4983 GB, free: 78.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.723e-05/0.7125, allocations: 301.1 kB / 0.4986 GB, free: 78.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.7143, allocations: 2.049 MB / 0.5006 GB, free: 77.01 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.7166, allocations: 4.69 MB / 0.5052 GB, free: 72.07 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.7213, allocations: 7.089 MB / 0.5121 GB, free: 63.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-05/0.7214, allocations: 24 kB / 0.5121 GB, free: 63.67 MB / 410.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.006988/0.7283, allocations: 7.02 MB / 0.519 GB, free: 56.64 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.7284, allocations: 47.98 kB / 0.519 GB, free: 56.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.259e-05/0.7285, allocations: 92 kB / 0.5191 GB, free: 56.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.7291, allocations: 427.7 kB / 0.5195 GB, free: 56.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/0.731, allocations: 1.178 MB / 0.5207 GB, free: 54.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002964/0.734, allocations: 4.214 MB / 0.5248 GB, free: 50.58 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.737, allocations: 0.7374 MB / 0.5255 GB, free: 49.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/0.7374, allocations: 288 kB / 0.5258 GB, free: 49.55 MB / 410.8 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.004478/0.7419, allocations: 3.485 MB / 0.5292 GB, free: 46.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.7424, allocations: 302 kB / 0.5295 GB, free: 45.76 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.7454, allocations: 3.297 MB / 0.5327 GB, free: 42.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002034/0.7475, allocations: 2.538 MB / 0.5352 GB, free: 39.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7475, allocations: 4 kB / 0.5352 GB, free: 39.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.7475, allocations: 9 kB / 0.5352 GB, free: 39.88 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.7611, allocations: 9.044 MB / 0.544 GB, free: 30.81 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.7611, allocations: 0 / 0.544 GB, free: 30.81 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.7619, allocations: 363.5 kB / 0.5444 GB, free: 30.45 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.7623, allocations: 312.9 kB / 0.5447 GB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.763e-05/0.7624, allocations: 47.98 kB / 0.5447 GB, free: 30.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.7652, allocations: 4.034 MB / 0.5486 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7652, allocations: 0 / 0.5486 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.769, allocations: 4.7 MB / 0.5532 GB, free: 21.22 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008835/0.7699, allocations: 0.5443 MB / 0.5538 GB, free: 20.67 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.7701, allocations: 36 kB / 0.5538 GB, free: 20.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/0.7708, allocations: 143.8 kB / 0.5539 GB, free: 20.5 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.771, allocations: 133.7 kB / 0.5541 GB, free: 20.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.771, allocations: 52 kB / 0.5541 GB, free: 20.31 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002259/0.7733, allocations: 2.194 MB / 0.5563 GB, free: 18.12 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.7733, allocations: 0 / 0.5563 GB, free: 18.12 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004667/0.778, allocations: 2.059 MB / 0.5583 GB, free: 16.05 MB / 410.8 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.004466/0.7824, allocations: 5.342 MB / 0.5635 GB, free: 10.67 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004918/0.7873, allocations: 4.516 MB / 0.5679 GB, free: 6.156 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7873, allocations: 0 / 0.5679 GB, free: 6.156 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.7888, allocations: 1.489 MB / 0.5693 GB, free: 4.66 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.7908, allocations: 0.6885 MB / 0.57 GB, free: 3.98 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05296/0.8438, allocations: 42.87 MB / 0.6119 GB, free: 5.887 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005803/0.8496, allocations: 5.328 MB / 0.6171 GB, free: 0.5234 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.142/0.9917, allocations: 1.825 MB / 0.6189 GB, free: 150 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003947/0.9956, allocations: 2.858 MB / 0.6217 GB, free: 149.3 MB / 458.8 MB Notification: Performance of SimCode: time 1.733e-06/0.9956, allocations: 0 / 0.6217 GB, free: 149.3 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.099, allocations: 92.72 MB / 0.7122 GB, free: 76.61 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.635/10.73, allocations: 0 / 0.7122 GB, free: 76.61 MB / 458.8 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 12.442142605781555]