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.001862/0.001862, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002205/0.002205, allocations: 161.4 kB / 25.02 MB, free: 8.953 MB / 18.57 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.49/1.49, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.248e-05, allocations: 6.109 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005723/0.005756, allocations: 3.782 MB / 254.2 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.007805, allocations: 0.9316 MB / 255.1 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.008135, allocations: 11.94 kB / 255.1 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.008426, allocations: 95.06 kB / 255.2 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005872/0.009013, allocations: 206.1 kB / 255.4 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.009419, allocations: 167.7 kB / 255.6 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008267/0.01025, allocations: 0.7628 MB / 256.3 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.01056, allocations: 143.7 kB / 256.5 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.01108, allocations: 431 kB / 256.9 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.01146, allocations: 243.2 kB / 257.1 MB, free: 1.016 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01156, allocations: 60 kB / 257.2 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.01167, allocations: 60 kB / 257.2 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.01185, allocations: 151.4 kB / 257.4 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.01215, allocations: 235.4 kB / 257.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009147/0.01306, allocations: 0.7242 MB / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.01307, allocations: 0 / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01307, allocations: 0 / 258.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.01308, allocations: 3.938 kB / 258.3 MB, free: 15.79 MB / 250.7 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.001739/0.01482, allocations: 0.8477 MB / 259.2 MB, free: 14.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.01487, allocations: 11.98 kB / 259.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.01509, allocations: 116.5 kB / 259.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.01582, allocations: 323.7 kB / 259.6 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.01587, allocations: 41.62 kB / 259.7 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.01598, allocations: 56.33 kB / 259.7 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.01708, allocations: 0.5419 MB / 260.3 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.01709, allocations: 192 / 260.3 MB, free: 13.78 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.01715, allocations: 28.12 kB / 260.3 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.01717, allocations: 15.98 kB / 260.3 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.01808, allocations: 443.7 kB / 260.8 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.02135, allocations: 1.789 MB / 262.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.02244, allocations: 0.5189 MB / 263.1 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.0231, allocations: 358.4 kB / 263.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.02315, allocations: 8.5 kB / 263.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.02319, allocations: 43.05 kB / 263.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.0232, allocations: 0 / 263.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.004724/0.02792, allocations: 1.74 MB / 265.2 MB, free: 8.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.02799, allocations: 59.91 kB / 265.3 MB, free: 8.648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.02842, allocations: 333.7 kB / 265.6 MB, free: 8.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.02846, allocations: 41.7 kB / 265.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.02867, allocations: 237.3 kB / 265.9 MB, free: 8.031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.02887, allocations: 206.2 kB / 266.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.02904, allocations: 90.34 kB / 266.1 MB, free: 7.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.02927, allocations: 350.8 kB / 266.5 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.02963, allocations: 173.1 kB / 266.7 MB, free: 7.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.03003, allocations: 216.8 kB / 266.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.03079, allocations: 386.1 kB / 267.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.03079, allocations: 0 / 267.2 MB, free: 6.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00141/0.0322, allocations: 0.6837 MB / 267.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.03222, allocations: 4 kB / 267.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.03223, allocations: 4 kB / 267.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000837/0.03307, allocations: 255.1 kB / 268.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.03336, allocations: 63.98 kB / 268.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0082/0.04156, allocations: 6.981 MB / 275.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.04181, allocations: 15.98 kB / 275.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.04185, allocations: 16 kB / 275.3 MB, free: 14.16 MB / 266.7 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.0002505/0.0421, allocations: 165.8 kB / 275.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.04223, allocations: 79.59 kB / 275.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.04236, allocations: 64.75 kB / 275.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.04237, allocations: 8.062 kB / 275.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.04238, allocations: 4 kB / 275.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.04238, allocations: 3.984 kB / 275.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.04472, allocations: 1.156 MB / 276.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.04472, allocations: 0 / 276.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.04501, allocations: 60.03 kB / 276.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007265/0.04574, allocations: 251.2 kB / 277 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.04579, allocations: 27.91 kB / 277.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007797/0.05358, allocations: 6.985 MB / 284.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.05359, allocations: 0 / 284.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.05554, allocations: 1.028 MB / 285.1 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.05573, allocations: 83.69 kB / 285.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.05578, allocations: 16 kB / 285.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.05604, allocations: 16 kB / 285.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.05619, allocations: 56.39 kB / 285.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.05623, allocations: 19.98 kB / 285.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002745/0.0565, allocations: 239.2 kB / 285.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0565, allocations: 0 / 285.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008841/0.05739, allocations: 172 kB / 285.7 MB, free: 3.246 MB / 266.7 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.000157/0.05754, allocations: 115.2 kB / 285.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.05924, allocations: 1.012 MB / 286.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.05924, allocations: 0 / 286.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.06048, allocations: 0.8247 MB / 287.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.06095, allocations: 81.58 kB / 287.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.06321, allocations: 1.19 MB / 288.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.06352, allocations: 283.5 kB / 289.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.06367, allocations: 48.36 kB / 289.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.06376, allocations: 28.5 kB / 289.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.06376, allocations: 0 / 289.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of Templates: time 0.01648/0.08024, allocations: 8.44 MB / 297.7 MB, free: 7.109 MB / 282.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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: 4.955019172979519]