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.001899/0.001899, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002311/0.002311, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.297/1.297, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 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: 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.001771/0.001771, allocations: 55.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2683, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01526/0.2836, allocations: 16.94 MB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.2938, allocations: 4.261 MB / 417.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.2975, allocations: 135.5 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01739/0.3149, allocations: 7.547 MB / 425.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006566/0.3215, allocations: 1.419 MB / 426.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.3256, allocations: 1.379 MB / 428 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01207/0.3377, allocations: 8.625 MB / 436.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02886/0.3666, allocations: 14.45 MB / 451.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.3747, allocations: 5.062 MB / 456.2 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00927/0.3839, allocations: 5.575 MB / 461.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003179/0.3871, allocations: 1.402 MB / 463.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.3916, allocations: 1.675 MB / 464.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003487/0.3951, allocations: 2.72 MB / 467.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008955/0.4041, allocations: 5.378 MB / 472.9 MB, free: 6.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02254/0.4266, allocations: 18.58 MB / 491.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.4266, allocations: 0 / 491.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4266, allocations: 0 / 491.5 MB, free: 3.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004666/0.4271, allocations: 4 kB / 491.5 MB, free: 3.738 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.03075/0.4579, allocations: 10.9 MB / 0.4906 GB, free: 8.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4579, allocations: 15.98 kB / 0.4907 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003883/0.4618, allocations: 1.356 MB / 0.492 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02973/0.4915, allocations: 5.746 MB / 0.4976 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.5037, allocations: 4.909 MB / 0.5024 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007656/0.5044, allocations: 0.7064 MB / 0.5031 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.508, allocations: 0.9257 MB / 0.504 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.5478, allocations: 13.6 MB / 0.5173 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003165/0.5481, allocations: 7.953 kB / 0.5173 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003069/0.5512, allocations: 396 kB / 0.5176 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005293/0.5517, allocations: 456 kB / 0.5181 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.5791, allocations: 12.82 MB / 0.5306 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3984/0.9775, allocations: 44.43 MB / 0.574 GB, free: 115.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.9879, allocations: 5.363 MB / 0.5792 GB, free: 115.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002526/0.9904, allocations: 1.704 MB / 0.5809 GB, free: 115.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009583/1, allocations: 5.741 MB / 0.5865 GB, free: 115 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1, allocations: 53.59 kB / 0.5865 GB, free: 114.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.427e-06/1, allocations: 0 / 0.5865 GB, free: 114.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.007783/1.008, allocations: 4.249 MB / 0.5907 GB, free: 113.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/1.008, allocations: 73.03 kB / 0.5908 GB, free: 113.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/1.012, allocations: 3.327 MB / 0.594 GB, free: 112.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.012, allocations: 57.33 kB / 0.5941 GB, free: 112.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/1.014, allocations: 4.345 MB / 0.5983 GB, free: 109.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/1.015, allocations: 0.7259 MB / 0.599 GB, free: 109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/1.016, allocations: 1.07 MB / 0.6001 GB, free: 108.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.953e-05/1.016, allocations: 305.1 kB / 0.6004 GB, free: 108.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/1.018, allocations: 2.047 MB / 0.6024 GB, free: 107 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/1.021, allocations: 4.687 MB / 0.6069 GB, free: 102.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006139/1.027, allocations: 7.094 MB / 0.6139 GB, free: 96.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.449e-05/1.027, allocations: 28.97 kB / 0.6139 GB, free: 96.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009553/1.037, allocations: 7.005 MB / 0.6207 GB, free: 92.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/1.037, allocations: 50.52 kB / 0.6208 GB, free: 92.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/1.037, allocations: 95.75 kB / 0.6209 GB, free: 92.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007801/1.038, allocations: 425.8 kB / 0.6213 GB, free: 92.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/1.041, allocations: 1.179 MB / 0.6224 GB, free: 91.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/1.045, allocations: 4.27 MB / 0.6266 GB, free: 87.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004398/1.05, allocations: 0.7334 MB / 0.6273 GB, free: 86.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009293/1.05, allocations: 292 kB / 0.6276 GB, free: 86.09 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.00623/1.057, allocations: 3.485 MB / 0.631 GB, free: 82.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/1.057, allocations: 298 kB / 0.6313 GB, free: 82.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/1.062, allocations: 3.304 MB / 0.6345 GB, free: 78.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002876/1.065, allocations: 2.534 MB / 0.637 GB, free: 76.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/1.065, allocations: 4 kB / 0.637 GB, free: 76.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.065, allocations: 15.33 kB / 0.637 GB, free: 76.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.082, allocations: 9.334 MB / 0.6461 GB, free: 67.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.082, allocations: 0 / 0.6461 GB, free: 67.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/1.083, allocations: 367.4 kB / 0.6465 GB, free: 66.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/1.084, allocations: 313.3 kB / 0.6468 GB, free: 66.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.084, allocations: 43.98 kB / 0.6468 GB, free: 66.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/1.088, allocations: 4.097 MB / 0.6508 GB, free: 62.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.088, allocations: 0 / 0.6508 GB, free: 62.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.094, allocations: 4.704 MB / 0.6554 GB, free: 57.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/1.095, allocations: 0.5405 MB / 0.6559 GB, free: 56.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/1.096, allocations: 40.06 kB / 0.656 GB, free: 56.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.097, allocations: 127.8 kB / 0.6561 GB, free: 56.69 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/1.097, allocations: 141.6 kB / 0.6562 GB, free: 56.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.097, allocations: 55.98 kB / 0.6563 GB, free: 56.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003385/1.101, allocations: 2.198 MB / 0.6584 GB, free: 54.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.101, allocations: 0 / 0.6584 GB, free: 54.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005632/1.106, allocations: 2.058 MB / 0.6604 GB, free: 52.23 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.006301/1.113, allocations: 5.343 MB / 0.6657 GB, free: 46.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006158/1.119, allocations: 4.518 MB / 0.6701 GB, free: 42.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.119, allocations: 0 / 0.6701 GB, free: 42.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/1.121, allocations: 1.481 MB / 0.6715 GB, free: 40.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.124, allocations: 0.6912 MB / 0.6722 GB, free: 40.17 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0675/1.192, allocations: 42.98 MB / 0.7142 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009996/1.202, allocations: 5.796 MB / 0.7198 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004981/1.207, allocations: 1.821 MB / 0.7216 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004827/1.212, allocations: 2.86 MB / 0.7244 GB, free: 15.48 MB / 0.4982 GB Notification: Performance of SimCode: time 1.352e-06/1.212, allocations: 8 kB / 0.7244 GB, free: 15.47 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3598/1.571, allocations: 96.62 MB / 0.8188 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/19.15, allocations: 7.984 kB / 0.8188 GB, free: 130.3 MB / 0.5138 GB " [Timeout remaining time 641] (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: 21.529176431999076]