Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 128.4 kB / 17.8 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 214.5 kB / 20.75 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 230.4 MB / 254 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1153, allocations: 53.36 MB / 426.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.2417/0.357, allocations: 16.59 MB / 442.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3671, allocations: 4.154 MB / 447.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004009/0.3711, allocations: 162.2 kB / 447.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01868/0.3898, allocations: 7.493 MB / 454.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008006/0.3978, allocations: 1.336 MB / 456.1 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00457/0.4024, allocations: 1.236 MB / 457.3 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.4155, allocations: 8.263 MB / 465.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03128/0.4467, allocations: 17.33 MB / 482.9 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009335/0.4561, allocations: 4.902 MB / 487.8 MB, free: 3.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009878/0.466, allocations: 5.346 MB / 493.2 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004354/0.4703, allocations: 1.383 MB / 494.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/0.4765, allocations: 1.668 MB / 496.2 MB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005281/0.4818, allocations: 2.58 MB / 498.8 MB, free: 8.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01151/0.4933, allocations: 5.222 MB / 0.4922 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02419/0.5174, allocations: 18.35 MB / 0.5101 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5175, allocations: 0 / 0.5101 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5175, allocations: 0 / 0.5101 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000557/0.518, allocations: 7.875 kB / 0.5101 GB, free: 0.5117 MB / 414.1 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.03354/0.5516, allocations: 10.62 MB / 0.5205 GB, free: 5.793 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5516, allocations: 8.031 kB / 0.5205 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004456/0.5561, allocations: 1.294 MB / 0.5218 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02073/0.5768, allocations: 3.71 MB / 0.5254 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/0.5884, allocations: 5.384 MB / 0.5307 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006761/0.5891, allocations: 0.6823 MB / 0.5313 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003374/0.5925, allocations: 0.8828 MB / 0.5322 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/0.6285, allocations: 12.74 MB / 0.5446 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/0.6287, allocations: 7.953 kB / 0.5446 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.6312, allocations: 376 kB / 0.545 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004072/0.6316, allocations: 399.1 kB / 0.5454 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.6574, allocations: 11.43 MB / 0.5565 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07453/0.732, allocations: 43.72 MB / 0.5992 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.7438, allocations: 10.28 MB / 0.6093 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.7464, allocations: 1.532 MB / 0.6108 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000324/0.7467, allocations: 240 kB / 0.611 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.7467, allocations: 56.56 kB / 0.6111 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 3.877e-06/0.7467, allocations: 0 / 0.6111 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009122/0.7559, allocations: 4.684 MB / 0.6156 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.7559, allocations: 77.41 kB / 0.6157 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4012/1.157, allocations: 2.924 MB / 0.6186 GB, free: 152 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/1.158, allocations: 63.2 kB / 0.6186 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00243/1.16, allocations: 3.98 MB / 0.6225 GB, free: 150.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009393/1.161, allocations: 0.8222 MB / 0.6233 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/1.162, allocations: 0.967 MB / 0.6242 GB, free: 150 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/1.162, allocations: 306 kB / 0.6245 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/1.166, allocations: 1.975 MB / 0.6265 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/1.17, allocations: 4.16 MB / 0.6305 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007378/1.177, allocations: 6.519 MB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.177, allocations: 26.22 kB / 0.6369 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01145/1.189, allocations: 6.525 MB / 0.6433 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/1.189, allocations: 36.5 kB / 0.6433 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.189, allocations: 75.53 kB / 0.6434 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.19, allocations: 411.6 kB / 0.6438 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.194, allocations: 1.063 MB / 0.6448 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/1.199, allocations: 4.381 MB / 0.6491 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.202, allocations: 0.636 MB / 0.6497 GB, free: 134.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/1.203, allocations: 249.1 kB / 0.65 GB, free: 134.7 MB / 0.5138 GB 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.005993/1.209, allocations: 3.367 MB / 0.6533 GB, free: 133.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/1.21, allocations: 293 kB / 0.6535 GB, free: 133 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/1.216, allocations: 3.563 MB / 0.657 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003326/1.219, allocations: 2.818 MB / 0.6598 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.219, allocations: 10.38 kB / 0.6598 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/1.219, allocations: 11.44 kB / 0.6598 GB, free: 130.5 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.232, allocations: 9.876 MB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.233, allocations: 3.875 kB / 0.6694 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.234, allocations: 415.5 kB / 0.6698 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/1.235, allocations: 309.3 kB / 0.6701 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/1.235, allocations: 51.66 kB / 0.6702 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/1.238, allocations: 4.195 MB / 0.6743 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.238, allocations: 0 / 0.6743 GB, free: 123.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005779/1.244, allocations: 5.152 MB / 0.6793 GB, free: 118.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/1.245, allocations: 0.6235 MB / 0.6799 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/1.245, allocations: 44.77 kB / 0.68 GB, free: 117.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.246, allocations: 131.8 kB / 0.6801 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/1.247, allocations: 153.7 kB / 0.6802 GB, free: 117.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.247, allocations: 68.61 kB / 0.6803 GB, free: 117.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00225/1.249, allocations: 1.963 MB / 0.6822 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.1e-08/1.249, allocations: 0 / 0.6822 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.004568/1.254, allocations: 1.984 MB / 0.6841 GB, free: 113.6 MB / 0.5138 GB 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.005879/1.259, allocations: 5.8 MB / 0.6898 GB, free: 107.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005855/1.265, allocations: 4.442 MB / 0.6942 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.265, allocations: 0.8125 kB / 0.6942 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.267, allocations: 1.621 MB / 0.6957 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.27, allocations: 0.6709 MB / 0.6964 GB, free: 101 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04924/1.32, allocations: 40.14 MB / 0.7356 GB, free: 58.26 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00438/1.324, allocations: 5.644 MB / 0.7411 GB, free: 52.58 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003185/1.327, allocations: 1.702 MB / 0.7428 GB, free: 50.87 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/1.33, allocations: 2.741 MB / 0.7454 GB, free: 48.13 MB / 0.5138 GB Notification: Performance of SimCode: time 1.012e-06/1.33, allocations: 0 / 0.7454 GB, free: 48.13 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3542/1.684, allocations: 90.78 MB / 0.8341 GB, free: 156.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.73, allocations: 8.984 kB / 0.8341 GB, free: 156.1 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.403851122944616]