Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.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.001259/0.001259, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001455/0.001455, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.405/1.405, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.0972, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005862/0.1031, allocations: 4.293 MB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/0.2805, allocations: 1 MB / 431.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.2807, allocations: 11.59 kB / 431.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.281, allocations: 99.48 kB / 431.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.2814, allocations: 205.9 kB / 432 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2817, allocations: 188.8 kB / 432.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.2823, allocations: 0.7321 MB / 432.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.2826, allocations: 159.2 kB / 433 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.2829, allocations: 301.8 kB / 433.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.2832, allocations: 334.2 kB / 433.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.2833, allocations: 60.44 kB / 433.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2834, allocations: 63.09 kB / 433.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2835, allocations: 146.5 kB / 433.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.2837, allocations: 332 kB / 434.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006447/0.2844, allocations: 0.7264 MB / 435 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2844, allocations: 1.5 kB / 435 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2844, allocations: 1.031 kB / 435 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2844, allocations: 0 / 435 MB, free: 7.012 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.00137/0.2858, allocations: 0.9334 MB / 435.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2858, allocations: 10.16 kB / 435.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.2859, allocations: 107.6 kB / 436 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.2863, allocations: 97.61 kB / 436.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.2868, allocations: 415.1 kB / 436.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.2868, allocations: 41.91 kB / 436.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.2869, allocations: 63.38 kB / 436.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.2878, allocations: 0.5718 MB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2878, allocations: 5.25 kB / 437.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.2878, allocations: 23.5 kB / 437.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2879, allocations: 13.19 kB / 437.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.2887, allocations: 462.4 kB / 437.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.2912, allocations: 2.088 MB / 439.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.292, allocations: 0.5909 MB / 440.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.2926, allocations: 354.8 kB / 440.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.2926, allocations: 6.938 kB / 440.7 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.2927, allocations: 46.23 kB / 440.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.833e-06/0.2927, allocations: 0 / 440.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00414/0.2968, allocations: 2.033 MB / 442.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.2968, allocations: 64.19 kB / 442.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2972, allocations: 365.2 kB / 443.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.2972, allocations: 35.89 kB / 443.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2973, allocations: 252 kB / 443.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2974, allocations: 206.5 kB / 443.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2976, allocations: 90.31 kB / 443.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.2976, allocations: 361.2 kB / 444.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.2979, allocations: 172.8 kB / 444.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.2983, allocations: 212.3 kB / 444.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.2989, allocations: 379.1 kB / 444.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2989, allocations: 1.688 kB / 444.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.3, allocations: 0.6607 MB / 445.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3001, allocations: 5.375 kB / 445.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3001, allocations: 1.031 kB / 445.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000701/0.3008, allocations: 262.8 kB / 445.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3011, allocations: 59.7 kB / 445.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/0.3082, allocations: 7.497 MB / 453.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.3085, allocations: 21.42 kB / 453.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.3086, allocations: 15.84 kB / 453.4 MB, free: 9.875 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.0002631/0.3088, allocations: 174.1 kB / 453.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.556e-05/0.3089, allocations: 56.73 kB / 453.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3091, allocations: 69.75 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3091, allocations: 5.75 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.3091, allocations: 1.969 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3091, allocations: 3 kB / 453.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.3113, allocations: 1.343 MB / 455 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3113, allocations: 0.6094 kB / 455 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.3116, allocations: 60.45 kB / 455.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007127/0.3123, allocations: 261 kB / 455.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.3123, allocations: 11.64 kB / 455.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007321/0.3196, allocations: 7.522 MB / 462.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3196, allocations: 1.031 kB / 462.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3215, allocations: 1.011 MB / 463.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.3217, allocations: 168.4 kB / 464.1 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.3218, allocations: 10.81 kB / 464.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.322, allocations: 16.11 kB / 464.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.3222, allocations: 53.17 kB / 464.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3222, allocations: 24.73 kB / 464.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3225, allocations: 262.6 kB / 464.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3225, allocations: 1.375 kB / 464.4 MB, free: 1.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009653/0.3235, allocations: 174.1 kB / 464.6 MB, free: 1.043 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.002171/0.3256, allocations: 1.585 MB / 466.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3273, allocations: 1.009 MB / 467.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3273, allocations: 0 / 467.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.3285, allocations: 0.8376 MB / 468 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.329, allocations: 88.25 kB / 468.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007963/0.337, allocations: 5.073 MB / 473.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.3376, allocations: 0.8896 MB / 474.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3378, allocations: 56.39 kB / 474.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.338, allocations: 172.5 kB / 474.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.338, allocations: 4 kB / 474.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07224/0.4102, allocations: 14.01 MB / 488.3 MB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.79, allocations: 11.05 kB / 488.3 MB, free: 44 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 15.699193357955664]