Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.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.001321/0.001321, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001452/0.001452, allocations: 201.9 kB / 23.73 MB, free: 4.379 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.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 51.91 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2649, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007713/0.2726, allocations: 5.359 MB / 436.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.276, allocations: 1.635 MB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.2764, allocations: 59.62 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.277, allocations: 325.4 kB / 438.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2782, allocations: 389.5 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.2789, allocations: 363.5 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.281, allocations: 2.013 MB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.2832, allocations: 1.605 MB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.2845, allocations: 1.075 MB / 443.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.286, allocations: 1.222 MB / 445.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.2864, allocations: 312 kB / 445.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.2871, allocations: 463.6 kB / 445.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006439/0.2878, allocations: 0.7286 MB / 446.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2888, allocations: 1.023 MB / 447.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.2925, allocations: 3.823 MB / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2925, allocations: 0 / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2925, allocations: 0 / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.73e-05/0.2926, allocations: 0 / 451.4 MB, free: 2.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004783/0.2974, allocations: 2.454 MB / 453.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.2974, allocations: 12.03 kB / 453.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004237/0.2978, allocations: 320.9 kB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00082/0.2987, allocations: 279.4 kB / 454.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.3012, allocations: 1.277 MB / 455.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.3013, allocations: 168.9 kB / 455.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.3017, allocations: 219.9 kB / 456.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.3063, allocations: 2.621 MB / 458.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.492e-05/0.3063, allocations: 0 / 458.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.3065, allocations: 92 kB / 458.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/0.3066, allocations: 56 kB / 458.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/0.3102, allocations: 2.137 MB / 461.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.3222, allocations: 6.719 MB / 467.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3233, allocations: 0.6986 MB / 468.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.3243, allocations: 0.5829 MB / 469.1 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.3244, allocations: 12.44 kB / 469.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.3244, allocations: 39.06 kB / 469.1 MB, free: 68 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.3244, allocations: 0 / 469.1 MB, free: 68 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004287/0.3287, allocations: 2.383 MB / 471.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3288, allocations: 60.06 kB / 471.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3299, allocations: 0.8127 MB / 472.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.3299, allocations: 37.7 kB / 472.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000731/0.3306, allocations: 0.9518 MB / 473.3 MB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3308, allocations: 238 kB / 473.6 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.3311, allocations: 146.6 kB / 473.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.3313, allocations: 394.7 kB / 474.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.3319, allocations: 365.8 kB / 474.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.3327, allocations: 0.579 MB / 475 MB, free: 9.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3341, allocations: 0.9834 MB / 476 MB, free: 8.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3341, allocations: 0 / 476 MB, free: 8.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001945/0.336, allocations: 1.157 MB / 477.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3361, allocations: 8.688 kB / 477.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3361, allocations: 4 kB / 477.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.3364, allocations: 112.8 kB / 477.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.3371, allocations: 171.7 kB / 477.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.3396, allocations: 2.206 MB / 479.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.3401, allocations: 39.95 kB / 479.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.3401, allocations: 32 kB / 479.8 MB, free: 5.008 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.3412, allocations: 0.6535 MB / 480.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.3414, allocations: 87.42 kB / 480.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.3416, allocations: 103.7 kB / 480.6 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.3416, allocations: 8.062 kB / 480.6 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.3416, allocations: 7.984 kB / 480.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3416, allocations: 0 / 480.6 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.3461, allocations: 2.536 MB / 483.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.3461, allocations: 8.062 kB / 483.2 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.3466, allocations: 115.7 kB / 483.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/0.3468, allocations: 96.67 kB / 483.4 MB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.3469, allocations: 19.94 kB / 483.4 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.3491, allocations: 2.14 MB / 485.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.3491, allocations: 8.062 kB / 485.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.3513, allocations: 1.415 MB / 486.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/0.3518, allocations: 155.4 kB / 487.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.3519, allocations: 23.92 kB / 487.1 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.3523, allocations: 35.97 kB / 487.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.3524, allocations: 56.33 kB / 487.2 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.3524, allocations: 24.05 kB / 487.2 MB, free: 13.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000767/0.3532, allocations: 0.5615 MB / 487.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 487.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3544, allocations: 303.9 kB / 488.1 MB, free: 12.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002845/0.3572, allocations: 1.998 MB / 490.1 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.359, allocations: 0.9683 MB / 491.1 MB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.359, allocations: 0 / 491.1 MB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.3599, allocations: 0.5402 MB / 491.6 MB, free: 8.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3611, allocations: 223.8 kB / 491.8 MB, free: 8.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.3762, allocations: 10.2 MB / 0.4902 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.3775, allocations: 1.144 MB / 0.4914 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005717/0.3781, allocations: 203.1 kB / 0.4916 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/0.3789, allocations: 0.6515 MB / 0.4922 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3789, allocations: 0 / 0.4922 GB, free: 12.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/0.4481, allocations: 26.29 MB / 0.5179 GB, free: 2.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.34, allocations: 11.98 kB / 0.5179 GB, free: 2.074 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.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_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.828638332983246]