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.001291/0.001291, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001411/0.001411, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.426/1.426, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.001863/0.001863, allocations: 56.09 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2816, allocations: 53.41 MB / 431.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005689/0.2873, allocations: 3.853 MB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2896, allocations: 0.9853 MB / 436 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.2899, allocations: 11.94 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.2901, allocations: 91.06 kB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.2907, allocations: 206.2 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.2911, allocations: 195.7 kB / 436.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.2919, allocations: 0.7477 MB / 437.2 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.2923, allocations: 147.7 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.2927, allocations: 302.9 kB / 437.7 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.2931, allocations: 286.7 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/0.2932, allocations: 64 kB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2933, allocations: 60 kB / 438.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.2935, allocations: 147.5 kB / 438.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.2938, allocations: 282.6 kB / 438.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.2946, allocations: 0.7313 MB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2946, allocations: 0 / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2946, allocations: 0 / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.2946, allocations: 4 kB / 439.2 MB, free: 14.44 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.001617/0.2962, allocations: 0.8593 MB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2963, allocations: 15.98 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.2965, allocations: 104 kB / 440.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/0.2968, allocations: 100.4 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.2975, allocations: 348.3 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.2975, allocations: 37.69 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.2976, allocations: 56.38 kB / 440.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.2985, allocations: 0.5732 MB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2985, allocations: 4 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.2986, allocations: 20 kB / 441.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2986, allocations: 12 kB / 441.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.2995, allocations: 472.9 kB / 441.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002857/0.3023, allocations: 1.912 MB / 443.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/0.3032, allocations: 0.5079 MB / 444.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.3038, allocations: 362 kB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.3039, allocations: 12.5 kB / 444.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3039, allocations: 35.06 kB / 444.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.3039, allocations: 0 / 444.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004297/0.3082, allocations: 1.736 MB / 446.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3082, allocations: 59.91 kB / 446.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.3086, allocations: 369.7 kB / 446.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.3087, allocations: 33.7 kB / 446.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.3089, allocations: 249.3 kB / 447.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.309, allocations: 214.2 kB / 447.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.3092, allocations: 90.34 kB / 447.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3093, allocations: 358.7 kB / 447.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.3097, allocations: 173.2 kB / 447.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.3101, allocations: 216.8 kB / 448.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007064/0.3108, allocations: 382.1 kB / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3108, allocations: 4 kB / 448.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001219/0.312, allocations: 0.6563 MB / 449.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.312, allocations: 10.5 kB / 449.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.312, allocations: 0 / 449.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/0.3127, allocations: 251.2 kB / 449.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.313, allocations: 63.89 kB / 449.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007289/0.3203, allocations: 7.037 MB / 456.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.3206, allocations: 20.02 kB / 456.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3207, allocations: 12 kB / 456.5 MB, free: 12.38 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.0002658/0.3209, allocations: 182.2 kB / 456.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.321, allocations: 55.61 kB / 456.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.3212, allocations: 65.03 kB / 456.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3212, allocations: 7.938 kB / 456.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3212, allocations: 4 kB / 456.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3212, allocations: 3.984 kB / 456.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.3234, allocations: 1.245 MB / 458.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3234, allocations: 4 kB / 458.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.3237, allocations: 51.97 kB / 458.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006696/0.3243, allocations: 263.1 kB / 458.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3244, allocations: 15.98 kB / 458.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.3315, allocations: 7.046 MB / 465.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3315, allocations: 0 / 465.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.3333, allocations: 1.025 MB / 466.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3335, allocations: 75.66 kB / 466.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.3336, allocations: 12 kB / 466.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.3338, allocations: 19.98 kB / 466.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.334, allocations: 56.39 kB / 466.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.334, allocations: 19.94 kB / 466.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.3343, allocations: 259.2 kB / 466.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 466.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008679/0.3352, allocations: 180 kB / 467.1 MB, free: 1.25 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.002122/0.3373, allocations: 1.584 MB / 468.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.3391, allocations: 1.002 MB / 469.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.3391, allocations: 8.062 kB / 469.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3404, allocations: 0.8253 MB / 470.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.3409, allocations: 89.56 kB / 470.6 MB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/0.3486, allocations: 5.089 MB / 475.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3489, allocations: 284.3 kB / 476 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.3491, allocations: 60.47 kB / 476 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.3494, allocations: 175.4 kB / 476.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3494, allocations: 0 / 476.2 MB, free: 7.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/0.406, allocations: 14.44 MB / 490.6 MB, free: 9.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.5, allocations: 3.984 kB / 490.6 MB, free: 9.609 MB / 398.1 MB " [Timeout remaining time 646] (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/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_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.47122655203566]