Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00145/0.00145, allocations: 103.1 kB / 21.93 MB, free: 5.203 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.001686/0.001686, allocations: 202.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 51.94 kB / 348.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004528/0.2688, allocations: 3.777 MB / 401.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.2705, allocations: 0.9264 MB / 402.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.2708, allocations: 12.53 kB / 402.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2711, allocations: 98.56 kB / 402.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005186/0.2716, allocations: 201.1 kB / 402.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.272, allocations: 159.7 kB / 402.8 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007733/0.2727, allocations: 0.7334 MB / 403.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.273, allocations: 154.3 kB / 403.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.2735, allocations: 284.7 kB / 403.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.2739, allocations: 296.9 kB / 404.2 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.274, allocations: 61.41 kB / 404.3 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2741, allocations: 59.94 kB / 404.4 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.2743, allocations: 153.6 kB / 404.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.2745, allocations: 267.8 kB / 404.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.2753, allocations: 0.7243 MB / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2753, allocations: 0.5625 kB / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2753, allocations: 0 / 405.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2753, allocations: 0 / 405.5 MB, free: 4.637 MB / 318.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.001421/0.2767, allocations: 0.8575 MB / 406.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2768, allocations: 14.56 kB / 406.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.2769, allocations: 74.7 kB / 406.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.2774, allocations: 322 kB / 406.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.2775, allocations: 42.12 kB / 406.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.2775, allocations: 54.31 kB / 406.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/0.2784, allocations: 0.5446 MB / 407.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2784, allocations: 4 kB / 407.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.2784, allocations: 21.5 kB / 407.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.2785, allocations: 12.38 kB / 407.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.2792, allocations: 445.8 kB / 407.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.2816, allocations: 1.785 MB / 409.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.2825, allocations: 0.5143 MB / 410.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.283, allocations: 361.2 kB / 410.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.283, allocations: 6.531 kB / 410.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2831, allocations: 39.28 kB / 410.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.245e-06/0.2831, allocations: 0 / 410.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004035/0.2871, allocations: 1.72 MB / 412.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.2871, allocations: 61.44 kB / 412.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.2875, allocations: 327.4 kB / 412.7 MB, free: 408 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.2875, allocations: 35.86 kB / 412.7 MB, free: 368 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.2876, allocations: 236.7 kB / 412.9 MB, free: 148 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2877, allocations: 219.2 kB / 413.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.2879, allocations: 98.09 kB / 413.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2881, allocations: 348 kB / 413.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.2884, allocations: 170.8 kB / 413.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.2888, allocations: 214.3 kB / 413.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.2895, allocations: 378.7 kB / 414.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2895, allocations: 0 / 414.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001333/0.2908, allocations: 0.6568 MB / 415 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2909, allocations: 5.469 kB / 415 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2909, allocations: 1.188 kB / 415 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007635/0.2916, allocations: 268.2 kB / 415.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2919, allocations: 60.69 kB / 415.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.2994, allocations: 6.957 MB / 422.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.2998, allocations: 14.94 kB / 422.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.2998, allocations: 15.44 kB / 422.3 MB, free: 8.152 MB / 334.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.0003088/0.3001, allocations: 172.9 kB / 422.5 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.3002, allocations: 47.5 kB / 422.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.3003, allocations: 65.78 kB / 422.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3004, allocations: 6.188 kB / 422.6 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.3004, allocations: 5.844 kB / 422.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3004, allocations: 3.984 kB / 422.6 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.3026, allocations: 1.16 MB / 423.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3026, allocations: 0 / 423.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3029, allocations: 62.17 kB / 423.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.3036, allocations: 254.7 kB / 424.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3036, allocations: 11.78 kB / 424.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007372/0.311, allocations: 6.948 MB / 431 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.311, allocations: 0 / 431 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.313, allocations: 1.018 MB / 432 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.3132, allocations: 79.66 kB / 432.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.3133, allocations: 12 kB / 432.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3135, allocations: 19.92 kB / 432.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3137, allocations: 60.34 kB / 432.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.3138, allocations: 15.98 kB / 432.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.314, allocations: 235.2 kB / 432.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.314, allocations: 0 / 432.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000944/0.315, allocations: 176 kB / 432.6 MB, free: 14.96 MB / 350.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.000156/0.3151, allocations: 111.2 kB / 432.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.3169, allocations: 1.021 MB / 433.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3169, allocations: 0 / 433.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.3181, allocations: 0.8176 MB / 434.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3186, allocations: 81.56 kB / 434.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.321, allocations: 1.308 MB / 435.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3213, allocations: 283.5 kB / 436.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.3214, allocations: 27.44 kB / 436.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3214, allocations: 4 kB / 436.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01767/0.3391, allocations: 13.9 MB / 450.2 MB, free: 13.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.2455575899221]