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.001246/0.001246, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001348/0.001348, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 55.84 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2454, allocations: 53.36 MB / 431.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007022/0.2524, allocations: 5.353 MB / 437.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.2559, allocations: 1.631 MB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.257, allocations: 59.62 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009314/0.2579, allocations: 321.4 kB / 439.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.2595, allocations: 389.5 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/0.2605, allocations: 359.5 kB / 439.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.263, allocations: 2.017 MB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.265, allocations: 1.607 MB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.2663, allocations: 1.075 MB / 444.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.2678, allocations: 1.222 MB / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.2682, allocations: 312 kB / 446.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007578/0.269, allocations: 459.6 kB / 446.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.2696, allocations: 0.7286 MB / 447.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.2707, allocations: 1.023 MB / 448.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.2744, allocations: 3.823 MB / 452.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2744, allocations: 0 / 452.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2744, allocations: 4 kB / 452.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-05/0.2745, allocations: 0 / 452.2 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.004302/0.2788, allocations: 2.448 MB / 454.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2788, allocations: 12.03 kB / 454.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.54e-05/0.2789, allocations: 60.7 kB / 454.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.2792, allocations: 332.8 kB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007966/0.28, allocations: 275.4 kB / 455.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.2821, allocations: 1.281 MB / 456.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.2822, allocations: 168.6 kB / 456.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.2825, allocations: 220 kB / 457 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/0.2867, allocations: 2.609 MB / 459.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.2867, allocations: 4 kB / 459.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2869, allocations: 91.98 kB / 459.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.287, allocations: 60 kB / 459.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.2905, allocations: 2.141 MB / 461.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.3012, allocations: 6.711 MB / 468.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3022, allocations: 0.6908 MB / 469.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3032, allocations: 0.5985 MB / 469.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.3033, allocations: 4.5 kB / 469.9 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3033, allocations: 43 kB / 469.9 MB, free: 4 kB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.676e-06/0.3033, allocations: 0 / 469.9 MB, free: 4 kB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004106/0.3074, allocations: 2.379 MB / 472.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.3074, allocations: 60.06 kB / 472.4 MB, free: 13.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009886/0.3084, allocations: 0.7973 MB / 473.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.3085, allocations: 41.7 kB / 473.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006492/0.3091, allocations: 0.9518 MB / 474.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3093, allocations: 238 kB / 474.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.3095, allocations: 146.6 kB / 474.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3097, allocations: 394.7 kB / 474.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3103, allocations: 361.8 kB / 475.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.311, allocations: 0.579 MB / 475.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3123, allocations: 0.9834 MB / 476.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3123, allocations: 0 / 476.8 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001797/0.3141, allocations: 1.161 MB / 478 MB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3141, allocations: 8 kB / 478 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.3142, allocations: 12 kB / 478 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.3144, allocations: 112.8 kB / 478.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.3151, allocations: 171.7 kB / 478.3 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.3174, allocations: 2.21 MB / 480.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.3179, allocations: 35.98 kB / 480.5 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.3179, allocations: 35.98 kB / 480.6 MB, free: 4.949 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.00104/0.319, allocations: 0.6566 MB / 481.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.3191, allocations: 95.44 kB / 481.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.3193, allocations: 99.67 kB / 481.4 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.3194, allocations: 11.94 kB / 481.4 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3194, allocations: 4 kB / 481.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3194, allocations: 3.984 kB / 481.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/0.3235, allocations: 2.528 MB / 484 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3235, allocations: 3.938 kB / 484 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.324, allocations: 107.9 kB / 484.1 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.3242, allocations: 100.9 kB / 484.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.3243, allocations: 23.92 kB / 484.2 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.3264, allocations: 2.152 MB / 486.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3264, allocations: 4.062 kB / 486.3 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.3285, allocations: 1.415 MB / 487.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.3289, allocations: 155.5 kB / 487.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.329, allocations: 19.92 kB / 487.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3294, allocations: 44.02 kB / 488 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3295, allocations: 52.41 kB / 488 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.3295, allocations: 16 kB / 488 MB, free: 13.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007348/0.3303, allocations: 0.5576 MB / 488.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3303, allocations: 0 / 488.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3313, allocations: 311.9 kB / 488.9 MB, free: 12.37 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.002454/0.3338, allocations: 1.994 MB / 490.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.3354, allocations: 0.975 MB / 491.9 MB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3354, allocations: 1.688 kB / 491.9 MB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.3362, allocations: 0.5327 MB / 492.4 MB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.3373, allocations: 222.8 kB / 492.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.3517, allocations: 10.21 MB / 0.4911 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.353, allocations: 1.148 MB / 0.4922 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.3535, allocations: 203.1 kB / 0.4924 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/0.3543, allocations: 0.6399 MB / 0.493 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3543, allocations: 0 / 0.493 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/0.4131, allocations: 25.87 MB / 0.5183 GB, free: 2.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.79, allocations: 2.578 kB / 0.5183 GB, free: 2.484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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.260660984087735]