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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001493/0.001493, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001745/0.001745, allocations: 47.92 kB / 377.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2549, allocations: 53.36 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008079/0.263, allocations: 5.358 MB / 436.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.2669, allocations: 1.631 MB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.268, allocations: 59.62 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.269, allocations: 321.5 kB / 438.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2707, allocations: 393.4 kB / 438.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.2719, allocations: 363.5 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.2748, allocations: 2.017 MB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.2779, allocations: 1.544 MB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.2798, allocations: 1.075 MB / 443.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.2821, allocations: 1.152 MB / 445 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007127/0.2828, allocations: 308 kB / 445.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.284, allocations: 451.7 kB / 445.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.285, allocations: 0.7286 MB / 446.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.2872, allocations: 1.027 MB / 447.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004838/0.292, allocations: 3.819 MB / 451.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.292, allocations: 4 kB / 451.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.292, allocations: 0 / 451.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.262e-05/0.2921, allocations: 0 / 451.3 MB, free: 2.336 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.004948/0.2971, allocations: 2.454 MB / 453.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2971, allocations: 12.03 kB / 453.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.2975, allocations: 324.8 kB / 454.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008609/0.2984, allocations: 279.4 kB / 454.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.3011, allocations: 1.277 MB / 455.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.3013, allocations: 168.9 kB / 455.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/0.3016, allocations: 219.9 kB / 456 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/0.3062, allocations: 2.617 MB / 458.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/0.3062, allocations: 0 / 458.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.3064, allocations: 95.94 kB / 458.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.241e-05/0.3065, allocations: 56 kB / 458.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.3102, allocations: 2.141 MB / 460.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.322, allocations: 6.703 MB / 467.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.3231, allocations: 0.7063 MB / 468.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3241, allocations: 0.5907 MB / 468.9 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.3242, allocations: 4.5 kB / 468.9 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3242, allocations: 39.06 kB / 469 MB, free: 268 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.985e-06/0.3242, allocations: 0 / 469 MB, free: 268 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004248/0.3285, allocations: 2.379 MB / 471.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3285, allocations: 60.06 kB / 471.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3296, allocations: 0.8127 MB / 472.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.3297, allocations: 41.69 kB / 472.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.3304, allocations: 0.9441 MB / 473.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3306, allocations: 242 kB / 473.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.3308, allocations: 150.6 kB / 473.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.331, allocations: 390.7 kB / 474 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.3316, allocations: 365.8 kB / 474.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.3324, allocations: 0.5751 MB / 474.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3339, allocations: 0.9872 MB / 475.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3339, allocations: 4 kB / 475.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002003/0.3359, allocations: 1.154 MB / 477 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3359, allocations: 11.98 kB / 477 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.3359, allocations: 4 kB / 477 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.3362, allocations: 116.7 kB / 477.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3369, allocations: 179.8 kB / 477.3 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.3395, allocations: 2.199 MB / 479.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.34, allocations: 35.97 kB / 479.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.47e-05/0.3401, allocations: 39.98 kB / 479.6 MB, free: 5.191 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.001154/0.3413, allocations: 0.6536 MB / 480.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.3414, allocations: 87.42 kB / 480.4 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.3416, allocations: 99.69 kB / 480.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.3417, allocations: 8 kB / 480.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3417, allocations: 0 / 480.5 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3417, allocations: 3.984 kB / 480.5 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.3463, allocations: 2.536 MB / 483 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.3463, allocations: 8.062 kB / 483 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.3468, allocations: 108 kB / 483.1 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.347, allocations: 96.77 kB / 483.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.347, allocations: 23.94 kB / 483.2 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.3495, allocations: 2.148 MB / 485.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.3495, allocations: 4.031 kB / 485.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.352, allocations: 1.415 MB / 486.8 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.3525, allocations: 155.4 kB / 486.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3527, allocations: 27.98 kB / 487 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.3531, allocations: 39.97 kB / 487 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3532, allocations: 48.41 kB / 487.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.3533, allocations: 27.97 kB / 487.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009028/0.3542, allocations: 0.5653 MB / 487.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3542, allocations: 0 / 487.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001159/0.3553, allocations: 299.9 kB / 487.9 MB, free: 12.62 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.002841/0.3582, allocations: 1.998 MB / 489.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.3601, allocations: 0.9649 MB / 490.9 MB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3601, allocations: 0 / 490.9 MB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008996/0.361, allocations: 0.5406 MB / 491.4 MB, free: 9.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.3622, allocations: 229.5 kB / 491.7 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.3784, allocations: 10.2 MB / 0.4901 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.3799, allocations: 1.148 MB / 0.4912 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007041/0.3806, allocations: 199.1 kB / 0.4914 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008294/0.3814, allocations: 0.6438 MB / 0.492 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3814, allocations: 0 / 0.492 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.4863, allocations: 25.98 MB / 0.5174 GB, free: 2.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.8, allocations: 11.03 kB / 0.5174 GB, free: 2.586 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.266893315128982]