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.001632/0.001632, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.002038/0.002038, allocations: 198.7 kB / 25.23 MB, free: 3.539 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.589/1.589, allocations: 207.6 MB / 236 MB, free: 9.98 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.001989/0.001989, allocations: 51.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 49.17 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004846/0.2969, allocations: 4.216 MB / 401.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.2988, allocations: 0.9689 MB / 402.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.2991, allocations: 12.59 kB / 402.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.2993, allocations: 98.2 kB / 402.9 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.2999, allocations: 196.5 kB / 403.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.3002, allocations: 163.5 kB / 403.3 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007521/0.301, allocations: 0.7356 MB / 404 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.3013, allocations: 157.8 kB / 404.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.3016, allocations: 292.9 kB / 404.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.302, allocations: 329.1 kB / 404.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.3021, allocations: 61.06 kB / 404.8 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.3022, allocations: 64.72 kB / 404.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3024, allocations: 151.8 kB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3026, allocations: 330.9 kB / 405.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007896/0.3034, allocations: 0.7161 MB / 406.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3034, allocations: 0 / 406.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3034, allocations: 1.531 kB / 406.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.3034, allocations: 0 / 406.1 MB, free: 4.125 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.001472/0.3049, allocations: 0.8563 MB / 406.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3049, allocations: 13.89 kB / 407 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.3051, allocations: 70.42 kB / 407 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.3056, allocations: 330.2 kB / 407.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.3056, allocations: 38.06 kB / 407.4 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.3057, allocations: 55.2 kB / 407.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.3066, allocations: 0.5464 MB / 408 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.3066, allocations: 0 / 408 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.181e-05/0.3066, allocations: 21.5 kB / 408 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3067, allocations: 12.38 kB / 408 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.3074, allocations: 453.1 kB / 408.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.31, allocations: 1.976 MB / 410.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.3108, allocations: 0.5197 MB / 411 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.3113, allocations: 362.2 kB / 411.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.3114, allocations: 10.75 kB / 411.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3114, allocations: 38.28 kB / 411.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.003e-06/0.3114, allocations: 0 / 411.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004069/0.3155, allocations: 1.723 MB / 413.1 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/0.3156, allocations: 62.16 kB / 413.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.3161, allocations: 363 kB / 413.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.3161, allocations: 36.39 kB / 413.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3163, allocations: 232.5 kB / 413.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3166, allocations: 214.1 kB / 414 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.3167, allocations: 90.09 kB / 414.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.317, allocations: 352.4 kB / 414.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3174, allocations: 172.8 kB / 414.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.3178, allocations: 212.6 kB / 414.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000724/0.3185, allocations: 377.1 kB / 415.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3185, allocations: 0 / 415.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001402/0.3199, allocations: 0.6619 MB / 415.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.3199, allocations: 13.81 kB / 415.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.3199, allocations: 0 / 415.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008124/0.3207, allocations: 259.8 kB / 416.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.3211, allocations: 62.17 kB / 416.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008925/0.33, allocations: 7.095 MB / 423.2 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.3305, allocations: 14.91 kB / 423.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/0.3305, allocations: 14.81 kB / 423.3 MB, free: 7.297 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.0003798/0.3309, allocations: 182.4 kB / 423.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.3311, allocations: 52.08 kB / 423.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.3312, allocations: 62.48 kB / 423.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.3313, allocations: 6.281 kB / 423.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.958e-05/0.3313, allocations: 5.531 kB / 423.6 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3313, allocations: 5.516 kB / 423.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.3341, allocations: 1.294 MB / 424.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.3341, allocations: 0 / 424.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3344, allocations: 58.84 kB / 424.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/0.3352, allocations: 258.9 kB / 425.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.3353, allocations: 10.38 kB / 425.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009045/0.3443, allocations: 7.083 MB / 432.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3443, allocations: 4.031 kB / 432.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.3467, allocations: 1.026 MB / 433.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.347, allocations: 87.64 kB / 433.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3471, allocations: 12.12 kB / 433.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.3475, allocations: 19.98 kB / 433.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.3476, allocations: 52.48 kB / 433.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.3477, allocations: 19.98 kB / 433.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.348, allocations: 263.2 kB / 433.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.348, allocations: 3.938 kB / 433.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001064/0.3491, allocations: 172 kB / 433.9 MB, free: 13.75 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.0001734/0.3493, allocations: 107.2 kB / 434 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.3511, allocations: 1.017 MB / 435 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3511, allocations: 384 / 435 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.3524, allocations: 0.8214 MB / 435.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.353, allocations: 97.27 kB / 435.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.3558, allocations: 1.308 MB / 437.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.3564, allocations: 0.8714 MB / 438.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3566, allocations: 39.42 kB / 438.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3566, allocations: 4 kB / 438.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Templates: time 0.02082/0.3774, allocations: 13.89 MB / 452.1 MB, free: 11.4 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: 10.217410656157881]