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.001295/0.001295, allocations: 103.6 kB / 21.19 MB, free: 0.6406 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.001445/0.001445, allocations: 215.4 kB / 24.48 MB, free: 3.93 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.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 7.77 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: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 379 MB, free: 2.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 53.4 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005933/0.2916, allocations: 3.854 MB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2938, allocations: 0.9928 MB / 437.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.2941, allocations: 11.94 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.2945, allocations: 99.06 kB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.2952, allocations: 198.2 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.2958, allocations: 199.7 kB / 437.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2968, allocations: 0.7438 MB / 438.5 MB, free: 400 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.2972, allocations: 151.7 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.2976, allocations: 298.9 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004885/0.2981, allocations: 290.5 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.933e-05/0.2982, allocations: 60 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2984, allocations: 64 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.2986, allocations: 151.4 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.299, allocations: 274.7 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.3002, allocations: 0.7313 MB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3002, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3002, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3002, allocations: 0 / 440.5 MB, free: 14.39 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.002206/0.3024, allocations: 0.8555 MB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3025, allocations: 15.98 kB / 441.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005625/0.303, allocations: 96.48 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.3038, allocations: 344.3 kB / 441.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.3038, allocations: 37.69 kB / 441.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.3039, allocations: 56.33 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3049, allocations: 0.5454 MB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.3049, allocations: 3.938 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.305, allocations: 20 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.305, allocations: 16 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.3059, allocations: 447.7 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.3088, allocations: 1.781 MB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.3097, allocations: 0.5079 MB / 445.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/0.3103, allocations: 370 kB / 445.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.3104, allocations: 4.5 kB / 445.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3104, allocations: 39.06 kB / 445.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.3104, allocations: 0 / 445.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004533/0.3149, allocations: 1.728 MB / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.315, allocations: 59.91 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3154, allocations: 333.7 kB / 447.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.3155, allocations: 41.7 kB / 447.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3156, allocations: 249.2 kB / 448 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.3158, allocations: 218.1 kB / 448.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.316, allocations: 94.3 kB / 448.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3162, allocations: 346.8 kB / 448.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3166, allocations: 169.2 kB / 448.8 MB, free: 5.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.317, allocations: 212.8 kB / 449 MB, free: 5.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007278/0.3177, allocations: 382.2 kB / 449.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3177, allocations: 0 / 449.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001361/0.3191, allocations: 0.6524 MB / 450 MB, free: 4.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.3191, allocations: 18.36 kB / 450.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3191, allocations: 0 / 450.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/0.3199, allocations: 259 kB / 450.3 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3202, allocations: 63.95 kB / 450.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.3277, allocations: 6.93 MB / 457.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.328, allocations: 20.14 kB / 457.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3281, allocations: 24 kB / 457.3 MB, free: 12.82 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.0002923/0.3284, allocations: 173.6 kB / 457.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.3284, allocations: 51.66 kB / 457.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.3286, allocations: 64.8 kB / 457.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3286, allocations: 8 kB / 457.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3286, allocations: 128 / 457.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3286, allocations: 3.984 kB / 457.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.3308, allocations: 1.175 MB / 458.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3308, allocations: 0 / 458.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.331, allocations: 55.89 kB / 458.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006742/0.3317, allocations: 255.4 kB / 459.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3317, allocations: 15.94 kB / 459.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007406/0.3392, allocations: 6.943 MB / 466.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3392, allocations: 96 / 466.1 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3411, allocations: 1.021 MB / 467.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.3413, allocations: 79.66 kB / 467.2 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.3413, allocations: 12 kB / 467.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.3416, allocations: 15.98 kB / 467.2 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3418, allocations: 56.39 kB / 467.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.3418, allocations: 16.09 kB / 467.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.3421, allocations: 243.2 kB / 467.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3421, allocations: 3.938 kB / 467.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009128/0.343, allocations: 176 kB / 467.7 MB, free: 1.973 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.00017/0.3432, allocations: 111.3 kB / 467.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.345, allocations: 1.009 MB / 468.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.345, allocations: 0 / 468.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3462, allocations: 0.8291 MB / 469.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3467, allocations: 85.52 kB / 469.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.3492, allocations: 1.313 MB / 471 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3495, allocations: 279.6 kB / 471.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.3496, allocations: 35.42 kB / 471.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3496, allocations: 0 / 471.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01866/0.3682, allocations: 14.09 MB / 485.4 MB, free: 68 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] 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: 8.717190671246499]