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.002082/0.002082, allocations: 114 kB / 20.43 MB, free: 1.457 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.002381/0.002381, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.001958/0.001958, allocations: 63.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2668, allocations: 53.41 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008142/0.275, allocations: 6.094 MB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00376/0.2787, allocations: 1.713 MB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007971/0.2795, allocations: 63.62 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.2803, allocations: 321.4 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.2817, allocations: 389.5 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008261/0.2826, allocations: 363.5 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.285, allocations: 2.032 MB / 442.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.2872, allocations: 1.599 MB / 443.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.2888, allocations: 1.075 MB / 444.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2906, allocations: 1.23 MB / 446 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004708/0.2911, allocations: 312 kB / 446.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.292, allocations: 0.5113 MB / 446.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.2927, allocations: 0.7363 MB / 447.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.2942, allocations: 1.264 MB / 448.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.2985, allocations: 3.827 MB / 452.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2985, allocations: 3.938 kB / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2985, allocations: 0 / 452.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.666e-05/0.2986, allocations: 0 / 452.7 MB, free: 1.07 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.005373/0.304, allocations: 2.454 MB / 455.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.3041, allocations: 12.02 kB / 455.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004737/0.3045, allocations: 329 kB / 455.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008724/0.3054, allocations: 275.4 kB / 455.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.3081, allocations: 1.281 MB / 457 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.3083, allocations: 168.9 kB / 457.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003803/0.3086, allocations: 219.9 kB / 457.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.3133, allocations: 2.557 MB / 460 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.3134, allocations: 0 / 460 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.3136, allocations: 88 kB / 460 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.3137, allocations: 92.53 kB / 460.1 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.3176, allocations: 2.149 MB / 462.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.3295, allocations: 7.54 MB / 469.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3306, allocations: 0.6934 MB / 470.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3317, allocations: 0.5907 MB / 471.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.3318, allocations: 12.44 kB / 471.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.3318, allocations: 43.06 kB / 471.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.815e-06/0.3318, allocations: 0 / 471.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.00428/0.3361, allocations: 2.391 MB / 473.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3361, allocations: 60.06 kB / 473.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.3372, allocations: 0.8012 MB / 474.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.3373, allocations: 33.7 kB / 474.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.338, allocations: 0.9518 MB / 475.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3382, allocations: 242 kB / 475.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.3384, allocations: 146.6 kB / 475.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.3386, allocations: 390.7 kB / 476.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.3392, allocations: 369.8 kB / 476.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.34, allocations: 0.5751 MB / 477.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.3414, allocations: 0.9834 MB / 478.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3415, allocations: 4 kB / 478.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00197/0.3434, allocations: 1.157 MB / 479.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3434, allocations: 8 kB / 479.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.3435, allocations: 8.5 kB / 479.3 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003148/0.3438, allocations: 112.8 kB / 479.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.3444, allocations: 171.7 kB / 479.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.3469, allocations: 2.222 MB / 481.8 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.3474, allocations: 40.16 kB / 481.8 MB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.3475, allocations: 32.06 kB / 481.8 MB, free: 3.074 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.001116/0.3486, allocations: 0.6573 MB / 482.5 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.3487, allocations: 87.44 kB / 482.6 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3489, allocations: 103.7 kB / 482.7 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.349, allocations: 8 kB / 482.7 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.349, allocations: 4 kB / 482.7 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.349, allocations: 3.984 kB / 482.7 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.3535, allocations: 2.641 MB / 485.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3535, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.354, allocations: 103.9 kB / 485.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.3542, allocations: 104.8 kB / 485.5 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.3543, allocations: 19.98 kB / 485.6 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.3566, allocations: 2.16 MB / 487.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3566, allocations: 0 / 487.7 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3589, allocations: 1.423 MB / 489.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.3594, allocations: 163.3 kB / 489.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.3595, allocations: 16 kB / 489.3 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.3599, allocations: 43.95 kB / 489.4 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.36, allocations: 44.41 kB / 489.4 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.3601, allocations: 16 kB / 489.4 MB, free: 11.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008298/0.3609, allocations: 0.5693 MB / 490 MB, free: 10.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 4 kB / 490 MB, free: 10.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001214/0.3621, allocations: 296 kB / 490.3 MB, free: 10.38 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.002707/0.3648, allocations: 2.002 MB / 492.3 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.3666, allocations: 0.9727 MB / 493.3 MB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3666, allocations: 4.062 kB / 493.3 MB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008989/0.3675, allocations: 0.5363 MB / 493.8 MB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3686, allocations: 225.1 kB / 494 MB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.3843, allocations: 10.22 MB / 0.4924 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.3858, allocations: 1.728 MB / 0.4941 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000581/0.3864, allocations: 211.1 kB / 0.4943 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008229/0.3872, allocations: 0.6438 MB / 0.4949 GB, free: 9.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3872, allocations: 0 / 0.4949 GB, free: 9.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.4553, allocations: 25.15 MB / 0.5195 GB, free: 460 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.18, allocations: 4.75 kB / 0.5195 GB, free: 456 kB / 430.1 MB " [Timeout remaining time 647] (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: 15.77783792399714]