Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004692/0.004692, allocations: 140.6 kB / 24.67 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.82/0.82, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.338e-05, allocations: 2.281 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003352/0.003375, allocations: 3.823 MB / 323.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004984, allocations: 0.8956 MB / 324.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.005211, allocations: 8 kB / 324.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.0054, allocations: 102.9 kB / 324.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.005764, allocations: 210.1 kB / 324.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.006005, allocations: 163.7 kB / 324.9 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.006466, allocations: 0.7553 MB / 325.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.006672, allocations: 151.6 kB / 325.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.006972, allocations: 423 kB / 326.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.00722, allocations: 243.3 kB / 326.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.007295, allocations: 60 kB / 326.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.00735, allocations: 64 kB / 326.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.007477, allocations: 155.3 kB / 326.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.007613, allocations: 227.4 kB / 327 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.008085, allocations: 0.728 MB / 327.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.008088, allocations: 0 / 327.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.008089, allocations: 0 / 327.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.008097, allocations: 0 / 327.7 MB, free: 13.79 MB / 298.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.0008899/0.008987, allocations: 0.8553 MB / 328.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.009022, allocations: 12.92 kB / 328.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.009094, allocations: 68.52 kB / 328.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.009455, allocations: 327.6 kB / 328.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.009478, allocations: 37.69 kB / 329 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.00953, allocations: 48.38 kB / 329 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.01008, allocations: 0.5497 MB / 329.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01009, allocations: 192 / 329.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.01012, allocations: 36.06 kB / 329.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01013, allocations: 12 kB / 329.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.01063, allocations: 439.7 kB / 330 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.01244, allocations: 1.777 MB / 331.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.01297, allocations: 0.5196 MB / 332.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.01332, allocations: 362.3 kB / 332.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.01335, allocations: 12.44 kB / 332.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.01337, allocations: 43 kB / 332.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.803e-06/0.01338, allocations: 0 / 332.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002369/0.01574, allocations: 1.721 MB / 334.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.01577, allocations: 55.91 kB / 334.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01599, allocations: 329.7 kB / 334.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.01601, allocations: 37.7 kB / 334.9 MB, free: 6.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01612, allocations: 241.3 kB / 335.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.01621, allocations: 210.2 kB / 335.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.01629, allocations: 94.3 kB / 335.4 MB, free: 5.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.01638, allocations: 354.8 kB / 335.8 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.01658, allocations: 161.2 kB / 335.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.01679, allocations: 216.8 kB / 336.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.01721, allocations: 378.2 kB / 336.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01721, allocations: 0 / 336.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007453/0.01796, allocations: 0.6524 MB / 337.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.01798, allocations: 16.02 kB / 337.2 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01798, allocations: 0 / 337.2 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.01845, allocations: 255.1 kB / 337.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01864, allocations: 67.89 kB / 337.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.02275, allocations: 6.946 MB / 344.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.02289, allocations: 16.12 kB / 344.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.02291, allocations: 19.98 kB / 344.5 MB, free: 12.29 MB / 314.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.0001579/0.02307, allocations: 169.8 kB / 344.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.02312, allocations: 51.66 kB / 344.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.02317, allocations: 60.75 kB / 344.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02317, allocations: 8 kB / 344.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.02318, allocations: 0 / 344.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02318, allocations: 7.922 kB / 344.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.0246, allocations: 1.156 MB / 345.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.0246, allocations: 4 kB / 345.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02474, allocations: 59.89 kB / 346 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003594/0.0251, allocations: 259.4 kB / 346.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.02512, allocations: 15.94 kB / 346.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.02894, allocations: 6.95 MB / 353.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02894, allocations: 0 / 353.2 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.02997, allocations: 1.009 MB / 354.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.03009, allocations: 75.66 kB / 354.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.03012, allocations: 15.94 kB / 354.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.03023, allocations: 19.98 kB / 354.3 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.03034, allocations: 60.33 kB / 354.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.03035, allocations: 8 kB / 354.4 MB, free: 1.859 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.03051, allocations: 243.2 kB / 354.6 MB, free: 1.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03051, allocations: 4 kB / 354.6 MB, free: 1.621 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005873/0.0311, allocations: 172 kB / 354.8 MB, free: 1.453 MB / 314.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.0001182/0.03122, allocations: 107.2 kB / 354.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009381/0.03215, allocations: 1.021 MB / 355.9 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.03216, allocations: 0 / 355.9 MB, free: 276 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.03275, allocations: 0.8137 MB / 356.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.03307, allocations: 77.66 kB / 356.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.03443, allocations: 1.201 MB / 358 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.03461, allocations: 283.4 kB / 358.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.03467, allocations: 32.5 kB / 358.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03467, allocations: 0 / 358.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of Templates: time 0.009688/0.04436, allocations: 13.92 MB / 372.2 MB, free: 15.85 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 5.326688999310136]