Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 47.92 kB / 370.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2685, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01898/0.2875, allocations: 16.59 MB / 439.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.2981, allocations: 4.118 MB / 443.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.3018, allocations: 163.2 kB / 443.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01758/0.3193, allocations: 7.507 MB / 451 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007676/0.327, allocations: 1.514 MB / 452.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.3317, allocations: 1.122 MB / 453.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.343, allocations: 8.304 MB / 462 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02521/0.3683, allocations: 14.36 MB / 476.3 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007771/0.376, allocations: 4.906 MB / 481.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009306/0.3853, allocations: 5.361 MB / 486.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003729/0.3891, allocations: 1.383 MB / 488 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00626/0.3953, allocations: 1.656 MB / 489.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005565/0.4009, allocations: 2.591 MB / 492.2 MB, free: 8.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01072/0.4116, allocations: 5.214 MB / 497.4 MB, free: 3.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02147/0.4331, allocations: 18.33 MB / 0.5037 GB, free: 1.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.4331, allocations: 4 kB / 0.5037 GB, free: 1.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4331, allocations: 0 / 0.5037 GB, free: 1.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004198/0.4335, allocations: 0 / 0.5037 GB, free: 1.027 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.0284/0.4619, allocations: 10.54 MB / 0.514 GB, free: 6.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.462, allocations: 12.03 kB / 0.514 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00353/0.4655, allocations: 1.298 MB / 0.5153 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/0.4848, allocations: 3.772 MB / 0.5189 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/0.4981, allocations: 5.425 MB / 0.5242 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006845/0.4988, allocations: 0.6823 MB / 0.5249 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/0.5016, allocations: 0.8906 MB / 0.5258 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4309/0.9325, allocations: 12.72 MB / 0.5382 GB, free: 91.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002588/0.9328, allocations: 7.391 kB / 0.5382 GB, free: 91.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001831/0.9346, allocations: 378 kB / 0.5386 GB, free: 91.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/0.935, allocations: 397.9 kB / 0.5389 GB, free: 91.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01972/0.9547, allocations: 11.41 MB / 0.5501 GB, free: 86.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05721/1.012, allocations: 42.33 MB / 0.5914 GB, free: 50.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007047/1.019, allocations: 4.192 MB / 0.5955 GB, free: 46.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/1.021, allocations: 1.53 MB / 0.597 GB, free: 45.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.021, allocations: 61.08 kB / 0.5971 GB, free: 45.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.021, allocations: 60.55 kB / 0.5971 GB, free: 44.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.42e-06/1.021, allocations: 0 / 0.5971 GB, free: 44.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007036/1.028, allocations: 4.576 MB / 0.6016 GB, free: 40.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.028, allocations: 81.34 kB / 0.6017 GB, free: 40.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/1.032, allocations: 2.93 MB / 0.6045 GB, free: 37.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003634/1.032, allocations: 61.7 kB / 0.6046 GB, free: 37.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.034, allocations: 3.986 MB / 0.6085 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007544/1.035, allocations: 0.8279 MB / 0.6093 GB, free: 32.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.036, allocations: 0.9565 MB / 0.6102 GB, free: 31.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/1.036, allocations: 301.1 kB / 0.6105 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.038, allocations: 1.973 MB / 0.6124 GB, free: 29.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.042, allocations: 4.157 MB / 0.6165 GB, free: 24.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005695/1.047, allocations: 6.509 MB / 0.6229 GB, free: 16.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.686e-05/1.047, allocations: 24 kB / 0.6229 GB, free: 16.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009028/1.056, allocations: 6.503 MB / 0.6292 GB, free: 10.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/1.056, allocations: 39.98 kB / 0.6293 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.61e-05/1.057, allocations: 83.94 kB / 0.6293 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007891/1.057, allocations: 408.8 kB / 0.6297 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/1.06, allocations: 1.065 MB / 0.6308 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/1.064, allocations: 4.281 MB / 0.635 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.067, allocations: 0.6364 MB / 0.6356 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/1.068, allocations: 248 kB / 0.6358 GB, free: 3.504 MB / 446.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.004565/1.072, allocations: 3.365 MB / 0.6391 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006301/1.073, allocations: 282.3 kB / 0.6394 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/1.079, allocations: 3.577 MB / 0.6429 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004332/1.083, allocations: 2.796 MB / 0.6456 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.083, allocations: 4 kB / 0.6456 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/1.083, allocations: 15.89 kB / 0.6456 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/1.103, allocations: 9.893 MB / 0.6553 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.103, allocations: 0 / 0.6553 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.105, allocations: 415.4 kB / 0.6557 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007607/1.106, allocations: 316.7 kB / 0.656 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/1.106, allocations: 48 kB / 0.656 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005252/1.111, allocations: 4.103 MB / 0.66 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.111, allocations: 3.938 kB / 0.66 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007806/1.119, allocations: 5.123 MB / 0.665 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.12, allocations: 0.5601 MB / 0.6656 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/1.121, allocations: 44 kB / 0.6656 GB, free: 4.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.122, allocations: 127.8 kB / 0.6657 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.122, allocations: 165.6 kB / 0.6659 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.122, allocations: 63.98 kB / 0.666 GB, free: 4.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003478/1.126, allocations: 1.959 MB / 0.6679 GB, free: 2.414 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/1.126, allocations: 4 kB / 0.6679 GB, free: 2.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006538/1.132, allocations: 1.992 MB / 0.6698 GB, free: 420 kB / 478.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.009231/1.142, allocations: 5.78 MB / 0.6755 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007827/1.149, allocations: 4.43 MB / 0.6798 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.149, allocations: 0 / 0.6798 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.152, allocations: 1.611 MB / 0.6814 GB, free: 4.527 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.155, allocations: 0.6803 MB / 0.682 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07111/1.226, allocations: 40.31 MB / 0.7214 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007471/1.234, allocations: 5.645 MB / 0.7269 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004238/1.238, allocations: 1.702 MB / 0.7286 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/1.242, allocations: 2.725 MB / 0.7312 GB, free: 14.78 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/1.242, allocations: 0 / 0.7312 GB, free: 14.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3674/1.61, allocations: 94.82 MB / 0.8238 GB, free: 131 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.55/19.16, allocations: 3.25 kB / 0.8238 GB, free: 131 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.74512303499796]