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.001807/0.001807, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002218/0.002218, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.001935/0.001935, allocations: 67.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2439, allocations: 53.41 MB / 431.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.0108/0.2547, allocations: 5.359 MB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.2597, allocations: 1.639 MB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/0.2605, allocations: 63.62 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009748/0.2615, allocations: 317.5 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.2633, allocations: 397.4 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.2643, allocations: 359.5 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003145/0.2674, allocations: 2.021 MB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.2705, allocations: 1.554 MB / 442.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.2725, allocations: 1.075 MB / 443.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.2749, allocations: 1.163 MB / 445.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006284/0.2756, allocations: 308 kB / 445.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.2767, allocations: 447.7 kB / 445.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009392/0.2776, allocations: 0.7402 MB / 446.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2794, allocations: 1.019 MB / 447.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.2853, allocations: 3.831 MB / 451.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2853, allocations: 4 kB / 451.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2853, allocations: 0 / 451.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001045/0.2854, allocations: 0 / 451.4 MB, free: 2.039 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.006643/0.292, allocations: 2.454 MB / 453.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.2921, allocations: 15.98 kB / 453.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004706/0.2926, allocations: 329 kB / 454.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.2934, allocations: 275.4 kB / 454.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002732/0.2962, allocations: 1.281 MB / 455.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.2963, allocations: 172.9 kB / 455.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.2966, allocations: 219.9 kB / 456.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.3013, allocations: 2.633 MB / 458.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.3014, allocations: 0 / 458.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.3016, allocations: 92 kB / 458.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.3017, allocations: 88.48 kB / 458.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.3057, allocations: 2.145 MB / 461.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3187, allocations: 6.743 MB / 467.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3198, allocations: 0.694 MB / 468.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.321, allocations: 0.5946 MB / 469.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.321, allocations: 8.438 kB / 469.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.3211, allocations: 39.06 kB / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 4.198e-06/0.3211, allocations: 0 / 469.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004706/0.3258, allocations: 2.379 MB / 471.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.3258, allocations: 64.06 kB / 471.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3272, allocations: 0.8127 MB / 472.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.3273, allocations: 41.7 kB / 472.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000875/0.3282, allocations: 0.9519 MB / 473.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.3284, allocations: 234 kB / 473.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.3287, allocations: 146.6 kB / 473.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.329, allocations: 398.7 kB / 474.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.3296, allocations: 361.7 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.3304, allocations: 0.5791 MB / 475.1 MB, free: 9.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.3319, allocations: 0.9911 MB / 476.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3319, allocations: 0 / 476.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002153/0.3341, allocations: 1.157 MB / 477.2 MB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3341, allocations: 8 kB / 477.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3341, allocations: 8 kB / 477.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.3345, allocations: 112.8 kB / 477.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.3352, allocations: 167.7 kB / 477.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.3378, allocations: 2.214 MB / 479.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.3384, allocations: 35.98 kB / 479.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/0.3385, allocations: 31.98 kB / 479.8 MB, free: 4.785 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.00118/0.3397, allocations: 0.6581 MB / 480.5 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.3399, allocations: 87.47 kB / 480.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3401, allocations: 103.7 kB / 480.7 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-05/0.3401, allocations: 8 kB / 480.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3402, allocations: 4 kB / 480.7 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3402, allocations: 3.984 kB / 480.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.3452, allocations: 2.544 MB / 483.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.3452, allocations: 4 kB / 483.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.3459, allocations: 104 kB / 483.3 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000322/0.3463, allocations: 100.7 kB / 483.4 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.3463, allocations: 23.94 kB / 483.5 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.3497, allocations: 2.136 MB / 485.6 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3497, allocations: 8.094 kB / 485.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.3531, allocations: 1.415 MB / 487 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/0.3538, allocations: 155.5 kB / 487.2 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.3539, allocations: 20 kB / 487.2 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/0.3546, allocations: 44.3 kB / 487.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.3548, allocations: 56.34 kB / 487.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/0.3549, allocations: 16 kB / 487.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.356, allocations: 0.5691 MB / 487.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.356, allocations: 0 / 487.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001777/0.3578, allocations: 304 kB / 488.2 MB, free: 12.2 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.003806/0.3616, allocations: 2.001 MB / 490.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.3643, allocations: 0.9712 MB / 491.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.3643, allocations: 5.688 kB / 491.1 MB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.3655, allocations: 0.5404 MB / 491.7 MB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.367, allocations: 210.7 kB / 491.9 MB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/0.3895, allocations: 10.21 MB / 0.4903 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/0.3915, allocations: 1.149 MB / 0.4915 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008403/0.3924, allocations: 211.1 kB / 0.4917 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.3936, allocations: 0.6399 MB / 0.4923 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3936, allocations: 0 / 0.4923 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0901/0.4837, allocations: 26 MB / 0.5177 GB, free: 2.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.47, allocations: 6.438 kB / 0.5177 GB, free: 2.082 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.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_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.069798510055989]