Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001923/0.001923, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002352/0.002352, allocations: 209.2 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 52.06 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2255, allocations: 53.36 MB / 431.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01829/0.2438, allocations: 14.25 MB / 445.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.2524, allocations: 4.033 MB / 449.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.2548, allocations: 159.2 kB / 449.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01671/0.2715, allocations: 6.91 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.2768, allocations: 1.339 MB / 457.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.2801, allocations: 1.227 MB / 459 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.2908, allocations: 8.304 MB / 467.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02266/0.3134, allocations: 14.23 MB / 481.5 MB, free: 4.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/0.32, allocations: 4.918 MB / 486.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008789/0.3287, allocations: 5.174 MB / 491.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0024/0.3311, allocations: 1.383 MB / 493 MB, free: 8.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003541/0.3347, allocations: 1.66 MB / 494.7 MB, free: 6.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002529/0.3372, allocations: 2.592 MB / 497.3 MB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005642/0.3429, allocations: 4.036 MB / 0.4896 GB, free: 224 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01959/0.3624, allocations: 18.45 MB / 0.5076 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.3625, allocations: 0 / 0.5076 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3625, allocations: 0 / 0.5076 GB, free: 13.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000409/0.3629, allocations: 0 / 0.5076 GB, free: 13.71 MB / 430.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.02818/0.391, allocations: 10.56 MB / 0.5179 GB, free: 3.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3911, allocations: 8.031 kB / 0.5179 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002928/0.394, allocations: 1.294 MB / 0.5191 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/0.4132, allocations: 3.702 MB / 0.5228 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.4264, allocations: 5.433 MB / 0.5281 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007169/0.4271, allocations: 0.6785 MB / 0.5287 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/0.4298, allocations: 0.8906 MB / 0.5296 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3779/0.8077, allocations: 12.81 MB / 0.5421 GB, free: 86.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/0.808, allocations: 17.66 kB / 0.5421 GB, free: 86.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/0.8096, allocations: 375.2 kB / 0.5425 GB, free: 86.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/0.81, allocations: 401.1 kB / 0.5429 GB, free: 86.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01734/0.8273, allocations: 11.4 MB / 0.554 GB, free: 81.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/0.8771, allocations: 38.97 MB / 0.5921 GB, free: 43.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006987/0.8841, allocations: 4.179 MB / 0.5961 GB, free: 39.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.8858, allocations: 1.527 MB / 0.5976 GB, free: 38.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.8859, allocations: 69.94 kB / 0.5977 GB, free: 38.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.886, allocations: 56.56 kB / 0.5978 GB, free: 38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.519e-06/0.886, allocations: 0 / 0.5978 GB, free: 38 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007066/0.893, allocations: 4.592 MB / 0.6022 GB, free: 33.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.8931, allocations: 81.34 kB / 0.6023 GB, free: 33.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/0.8963, allocations: 3.067 MB / 0.6053 GB, free: 30.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.8965, allocations: 65.64 kB / 0.6054 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.8978, allocations: 3.978 MB / 0.6093 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004782/0.8983, allocations: 0.8355 MB / 0.6101 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.8993, allocations: 0.9605 MB / 0.611 GB, free: 24.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.8993, allocations: 305.1 kB / 0.6113 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.9015, allocations: 1.969 MB / 0.6132 GB, free: 22.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/0.9043, allocations: 4.165 MB / 0.6173 GB, free: 17.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.9098, allocations: 6.509 MB / 0.6236 GB, free: 9.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.398e-05/0.9098, allocations: 31.98 kB / 0.6237 GB, free: 9.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.00835/0.9182, allocations: 6.524 MB / 0.63 GB, free: 3.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.9182, allocations: 39.94 kB / 0.6301 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/0.9183, allocations: 76 kB / 0.6302 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.919, allocations: 408.8 kB / 0.6306 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.9218, allocations: 1.068 MB / 0.6316 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.9268, allocations: 4.216 MB / 0.6357 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/0.9299, allocations: 0.6364 MB / 0.6363 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004601/0.9304, allocations: 248 kB / 0.6366 GB, free: 12.41 MB / 462.1 MB 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.005668/0.9361, allocations: 3.361 MB / 0.6399 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/0.9367, allocations: 286.2 kB / 0.6401 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/0.943, allocations: 3.573 MB / 0.6436 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004513/0.9475, allocations: 2.807 MB / 0.6464 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9475, allocations: 8 kB / 0.6464 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.9475, allocations: 11.95 kB / 0.6464 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.9644, allocations: 9.596 MB / 0.6557 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.9645, allocations: 0 / 0.6557 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.9661, allocations: 423.6 kB / 0.6561 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/0.9669, allocations: 320.5 kB / 0.6565 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.967, allocations: 47.98 kB / 0.6565 GB, free: 7.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005412/0.9724, allocations: 4.027 MB / 0.6604 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9724, allocations: 3.938 kB / 0.6604 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007875/0.9803, allocations: 5.15 MB / 0.6655 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.9818, allocations: 0.5638 MB / 0.666 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.9822, allocations: 40 kB / 0.6661 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.9833, allocations: 131.9 kB / 0.6662 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.9837, allocations: 161.6 kB / 0.6663 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.9838, allocations: 67.98 kB / 0.6664 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003048/0.9869, allocations: 1.967 MB / 0.6683 GB, free: 11.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.9869, allocations: 0 / 0.6683 GB, free: 11.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004954/0.9918, allocations: 1.984 MB / 0.6703 GB, free: 9.66 MB / 494.1 MB 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.008465/1, allocations: 5.794 MB / 0.6759 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007451/1.008, allocations: 4.436 MB / 0.6802 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.008, allocations: 0 / 0.6802 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/1.01, allocations: 1.626 MB / 0.6818 GB, free: 13.75 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/1.013, allocations: 0.6758 MB / 0.6825 GB, free: 13.09 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06614/1.08, allocations: 40.29 MB / 0.7218 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00701/1.087, allocations: 5.172 MB / 0.7269 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004199/1.091, allocations: 1.694 MB / 0.7285 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003958/1.095, allocations: 2.741 MB / 0.7312 GB, free: 8.477 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.095, allocations: 0 / 0.7312 GB, free: 8.477 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/1.414, allocations: 91.88 MB / 0.821 GB, free: 121.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.47, allocations: 0 / 0.821 GB, free: 121.2 MB / 0.545 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.08545707212761]