Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.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.001842/0.001842, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.002161/0.002161, allocations: 213.6 kB / 23.73 MB, free: 4.406 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 64.14 kB / 377.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2458, allocations: 53.41 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.01094/0.2567, allocations: 5.358 MB / 436.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.2617, allocations: 1.647 MB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.2631, allocations: 63.62 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.2642, allocations: 321.5 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.2662, allocations: 401.4 kB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.2673, allocations: 363.5 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.271, allocations: 2.02 MB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003372/0.2743, allocations: 1.54 MB / 442.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.2764, allocations: 1.083 MB / 443.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.2791, allocations: 1.155 MB / 445.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006529/0.2798, allocations: 312 kB / 445.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.2809, allocations: 451.6 kB / 445.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009467/0.2819, allocations: 0.7364 MB / 446.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.2837, allocations: 1.027 MB / 447.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006/0.2897, allocations: 3.827 MB / 451.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2897, allocations: 0 / 451.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2897, allocations: 0 / 451.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001074/0.2898, allocations: 0 / 451.4 MB, free: 2.23 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005212/0.295, allocations: 2.458 MB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2951, allocations: 11.98 kB / 453.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004643/0.2955, allocations: 329 kB / 454.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.2963, allocations: 275.4 kB / 454.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.299, allocations: 1.273 MB / 455.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.2992, allocations: 172.9 kB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.2995, allocations: 227.9 kB / 456.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/0.3042, allocations: 2.633 MB / 458.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.382e-05/0.3042, allocations: 0 / 458.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.3044, allocations: 84 kB / 458.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.3045, allocations: 92.53 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.3091, allocations: 2.141 MB / 461.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.3263, allocations: 6.75 MB / 467.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.3279, allocations: 0.694 MB / 468.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.3295, allocations: 0.5907 MB / 469.1 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.9e-05/0.3295, allocations: 8.438 kB / 469.1 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.3296, allocations: 39.06 kB / 469.2 MB, free: 52 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.087e-06/0.3296, allocations: 3.938 kB / 469.2 MB, free: 48 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.006481/0.3361, allocations: 2.383 MB / 471.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.3361, allocations: 60.06 kB / 471.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.3377, allocations: 0.8166 MB / 472.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.912e-05/0.3378, allocations: 37.7 kB / 472.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009649/0.3388, allocations: 0.948 MB / 473.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.339, allocations: 234 kB / 473.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.3393, allocations: 150.6 kB / 473.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002603/0.3396, allocations: 394.8 kB / 474.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.3404, allocations: 361.8 kB / 474.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3415, allocations: 0.5829 MB / 475.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.3435, allocations: 0.9833 MB / 476.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3435, allocations: 4 kB / 476.1 MB, free: 8.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002963/0.3465, allocations: 1.153 MB / 477.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.3465, allocations: 8.688 kB / 477.3 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.3465, allocations: 4 kB / 477.3 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/0.3469, allocations: 124.7 kB / 477.4 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.348, allocations: 167.7 kB / 477.5 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.3514, allocations: 2.21 MB / 479.8 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.3523, allocations: 35.97 kB / 479.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.3524, allocations: 36 kB / 479.8 MB, free: 4.977 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.001631/0.354, allocations: 0.6537 MB / 480.5 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/0.3543, allocations: 87.66 kB / 480.6 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.3546, allocations: 103.7 kB / 480.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/0.3546, allocations: 12 kB / 480.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3546, allocations: 4 kB / 480.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3546, allocations: 7.984 kB / 480.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005825/0.3605, allocations: 2.548 MB / 483.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.3605, allocations: 4 kB / 483.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.361, allocations: 99.86 kB / 483.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.3612, allocations: 100.7 kB / 483.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3613, allocations: 16.16 kB / 483.5 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.3635, allocations: 2.148 MB / 485.6 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3635, allocations: 0 / 485.6 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.3657, allocations: 1.427 MB / 487 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.3661, allocations: 155.4 kB / 487.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.3662, allocations: 12 kB / 487.2 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.3666, allocations: 43.95 kB / 487.2 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.3667, allocations: 52.34 kB / 487.3 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.3668, allocations: 20.06 kB / 487.3 MB, free: 13.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007665/0.3675, allocations: 0.5654 MB / 487.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 0 / 487.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001042/0.3686, allocations: 303.9 kB / 488.2 MB, free: 12.4 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.002617/0.3712, allocations: 2.005 MB / 490.2 MB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.3729, allocations: 0.9724 MB / 491.1 MB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3729, allocations: 0 / 491.1 MB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008872/0.3738, allocations: 0.544 MB / 491.7 MB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3749, allocations: 215.6 kB / 491.9 MB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.3902, allocations: 10.21 MB / 0.4903 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.3916, allocations: 1.153 MB / 0.4915 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005997/0.3922, allocations: 207.1 kB / 0.4917 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000888/0.3931, allocations: 0.6438 MB / 0.4923 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3931, allocations: 0 / 0.4923 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0656/0.4587, allocations: 25.99 MB / 0.5177 GB, free: 2.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.36, allocations: 3.938 kB / 0.5177 GB, free: 2.273 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.953722619917244]