Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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.001341/0.001341, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001402/0.001402, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.555/1.555, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 63.89 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1196, allocations: 53.31 MB / 426.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005759/0.1253, allocations: 4.295 MB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2094/0.3347, allocations: 1.023 MB / 432 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.3352, allocations: 9.125 kB / 432 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.3356, allocations: 98.55 kB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.3363, allocations: 195.9 kB / 432.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.3369, allocations: 193.3 kB / 432.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.3378, allocations: 0.7468 MB / 433.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.3382, allocations: 157.1 kB / 433.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.3387, allocations: 302.2 kB / 433.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.3391, allocations: 327.5 kB / 434 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.3392, allocations: 61.25 kB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.3394, allocations: 64.48 kB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3395, allocations: 152.1 kB / 434.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.3399, allocations: 326.7 kB / 434.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009807/0.3408, allocations: 0.7219 MB / 435.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3408, allocations: 0.6094 kB / 435.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3408, allocations: 0 / 435.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3409, allocations: 0 / 435.3 MB, free: 7.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002008/0.3429, allocations: 0.9368 MB / 436.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.3429, allocations: 10.53 kB / 436.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.3431, allocations: 109.6 kB / 436.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.3437, allocations: 100.5 kB / 436.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.3445, allocations: 409.1 kB / 436.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.3445, allocations: 39.03 kB / 436.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3446, allocations: 59.34 kB / 437 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.3459, allocations: 0.5744 MB / 437.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3459, allocations: 4.5 kB / 437.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.346, allocations: 21.34 kB / 437.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.346, allocations: 13.78 kB / 437.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3472, allocations: 473.9 kB / 438 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.351, allocations: 2.084 MB / 440.1 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.3522, allocations: 0.5909 MB / 440.7 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.353, allocations: 357.9 kB / 441.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.3531, allocations: 9.422 kB / 441.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3531, allocations: 39.05 kB / 441.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.975e-06/0.3531, allocations: 0 / 441.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.005969/0.3591, allocations: 2.035 MB / 443.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3591, allocations: 58.59 kB / 443.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.3596, allocations: 368.8 kB / 443.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.3596, allocations: 35.86 kB / 443.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3598, allocations: 251.7 kB / 443.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3599, allocations: 211 kB / 444.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3601, allocations: 90.38 kB / 444.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.3602, allocations: 360.3 kB / 444.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.3606, allocations: 168.3 kB / 444.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.361, allocations: 209.5 kB / 444.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.3617, allocations: 386.1 kB / 445.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3617, allocations: 1.531 kB / 445.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001153/0.3629, allocations: 0.66 MB / 445.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3629, allocations: 5.281 kB / 445.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3629, allocations: 0.75 kB / 445.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/0.3636, allocations: 259.5 kB / 446.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3639, allocations: 64.14 kB / 446.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/0.3715, allocations: 7.5 MB / 453.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3719, allocations: 20.84 kB / 453.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.372, allocations: 15.02 kB / 453.8 MB, free: 10 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.3723, allocations: 169.9 kB / 453.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3724, allocations: 64.88 kB / 454 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3725, allocations: 64.91 kB / 454 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3725, allocations: 6.531 kB / 454.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.3725, allocations: 1.219 kB / 454.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3725, allocations: 3 kB / 454.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/0.3749, allocations: 1.34 MB / 455.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3749, allocations: 3.938 kB / 455.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3752, allocations: 60.25 kB / 455.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/0.3759, allocations: 257.4 kB / 455.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.3759, allocations: 11.31 kB / 455.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/0.3838, allocations: 7.522 MB / 463.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3838, allocations: 1.375 kB / 463.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3859, allocations: 1.015 MB / 464.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3862, allocations: 162.2 kB / 464.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.3862, allocations: 12.34 kB / 464.4 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.3865, allocations: 16.69 kB / 464.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.3867, allocations: 63.05 kB / 464.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.3867, allocations: 15.41 kB / 464.5 MB, free: 1.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003959/0.3871, allocations: 264.7 kB / 464.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3871, allocations: 0 / 464.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3882, allocations: 178.2 kB / 465 MB, free: 1.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002486/0.3907, allocations: 1.58 MB / 466.5 MB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.3927, allocations: 1.014 MB / 467.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3927, allocations: 0 / 467.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.394, allocations: 0.8327 MB / 468.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.3946, allocations: 86.27 kB / 468.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/0.4034, allocations: 5.081 MB / 473.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/0.4042, allocations: 0.8879 MB / 474.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.4044, allocations: 54.64 kB / 474.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.4047, allocations: 176.1 kB / 474.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.4047, allocations: 0 / 474.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.4612, allocations: 14.01 MB / 488.7 MB, free: 252 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.39, allocations: 6.094 kB / 488.7 MB, free: 248 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.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: 16.69209578866139]