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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009343/0.000934, allocations: 96.58 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002773, allocations: 8 kB / 308.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004736/0.1077, allocations: 3.887 MB / 363.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.11, allocations: 1.009 MB / 364.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.1107, allocations: 8 kB / 364.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.1111, allocations: 75.38 kB / 364.9 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008776/0.112, allocations: 170.7 kB / 365.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.1126, allocations: 159.8 kB / 365.2 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.1137, allocations: 0.7205 MB / 365.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.1142, allocations: 196.2 kB / 366.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.1148, allocations: 246.9 kB / 366.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.1153, allocations: 298.6 kB / 366.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1155, allocations: 36 kB / 366.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1157, allocations: 43.98 kB / 366.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1158, allocations: 123.4 kB / 366.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003813/0.1162, allocations: 324 kB / 367.2 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.1168, allocations: 0.5024 MB / 367.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1168, allocations: 0 / 367.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1168, allocations: 0 / 367.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.1168, allocations: 3.938 kB / 367.7 MB, free: 5.254 MB / 302.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.001573/0.1184, allocations: 0.8341 MB / 368.5 MB, free: 4.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.1185, allocations: 12.03 kB / 368.5 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.1189, allocations: 100.1 kB / 368.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.1195, allocations: 393.9 kB / 369 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1196, allocations: 37.69 kB / 369 MB, free: 3.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.1197, allocations: 48.38 kB / 369.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009451/0.1206, allocations: 0.5532 MB / 369.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1207, allocations: 0 / 369.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.1207, allocations: 20 kB / 369.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1207, allocations: 16 kB / 369.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008535/0.1216, allocations: 467.6 kB / 370.1 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.1245, allocations: 2.065 MB / 372.2 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1734/0.298, allocations: 0.6447 MB / 372.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000944/0.2989, allocations: 403 kB / 373.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.299, allocations: 14.22 kB / 373.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2991, allocations: 38.02 kB / 373.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/0.2991, allocations: 0.5312 kB / 373.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004944/0.304, allocations: 2.078 MB / 375.4 MB, free: 18.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3041, allocations: 67.31 kB / 375.4 MB, free: 18.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.3046, allocations: 366 kB / 375.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.3047, allocations: 38.11 kB / 375.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3048, allocations: 233.8 kB / 376.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.305, allocations: 208.5 kB / 376.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.3051, allocations: 47.83 kB / 376.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3052, allocations: 357.2 kB / 376.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.3056, allocations: 173.6 kB / 376.8 MB, free: 17.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.3061, allocations: 219.1 kB / 377 MB, free: 17.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.3068, allocations: 389.2 kB / 377.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3068, allocations: 4 kB / 377.4 MB, free: 17.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001292/0.3081, allocations: 0.6797 MB / 378.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3082, allocations: 5.469 kB / 378.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3082, allocations: 1.344 kB / 378.1 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/0.3089, allocations: 257.1 kB / 378.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.3092, allocations: 71.94 kB / 378.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/0.3148, allocations: 6.782 MB / 385.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.3152, allocations: 21.72 kB / 385.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.3152, allocations: 19.25 kB / 385.3 MB, free: 10.51 MB / 302.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.0002325/0.3155, allocations: 178.7 kB / 385.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.3156, allocations: 52.06 kB / 385.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.3157, allocations: 62.45 kB / 385.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3157, allocations: 5.75 kB / 385.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.3157, allocations: 2.094 kB / 385.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3157, allocations: 2.25 kB / 385.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.3179, allocations: 1.362 MB / 386.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3179, allocations: 3.828 kB / 386.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3182, allocations: 62.41 kB / 387 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.3189, allocations: 261.6 kB / 387.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.3189, allocations: 11.92 kB / 387.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.3241, allocations: 6.787 MB / 394 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3241, allocations: 5.062 kB / 394 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.3259, allocations: 1.052 MB / 395.1 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.3262, allocations: 161.7 kB / 395.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.3263, allocations: 10.78 kB / 395.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.3266, allocations: 24.72 kB / 395.3 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3267, allocations: 55.42 kB / 395.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3268, allocations: 18.69 kB / 395.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.3271, allocations: 260 kB / 395.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3271, allocations: 0 / 395.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009756/0.3281, allocations: 175.8 kB / 395.8 MB, free: 2.375 MB / 302.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.000148/0.3282, allocations: 115.8 kB / 395.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3299, allocations: 1.04 MB / 396.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.33, allocations: 1.438 kB / 396.9 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.331, allocations: 0.8497 MB / 397.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.3316, allocations: 84.17 kB / 397.9 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.3342, allocations: 1.627 MB / 399.5 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.3348, allocations: 0.8743 MB / 400.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3349, allocations: 34.62 kB / 400.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3349, allocations: 0 / 400.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01839/0.3533, allocations: 13.93 MB / 414.3 MB, free: 5.492 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches