Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.562/1.562, allocations: 230.4 MB / 250 MB, free: 9.027 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.83 kB / 367.4 MB, free: 7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 53.31 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.007065/0.2906, allocations: 4.29 MB / 425 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.2928, allocations: 1.02 MB / 426 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.2933, allocations: 8 kB / 426 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.2936, allocations: 99 kB / 426.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006849/0.2943, allocations: 202.2 kB / 426.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.2948, allocations: 187.7 kB / 426.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008021/0.2956, allocations: 0.7361 MB / 427.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.2959, allocations: 163.1 kB / 427.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.2963, allocations: 290.9 kB / 427.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.2967, allocations: 330.5 kB / 428 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.2968, allocations: 64 kB / 428 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.2969, allocations: 64 kB / 428.1 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.2971, allocations: 147.5 kB / 428.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.2974, allocations: 330.3 kB / 428.6 MB, free: 408 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.2983, allocations: 0.7274 MB / 429.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2983, allocations: 0 / 429.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2983, allocations: 0 / 429.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2983, allocations: 0 / 429.3 MB, free: 15.67 MB / 350.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.001955/0.3003, allocations: 0.9269 MB / 430.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3003, allocations: 12.03 kB / 430.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.3007, allocations: 96.48 kB / 430.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.3013, allocations: 414.1 kB / 430.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.3013, allocations: 41.62 kB / 430.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.3014, allocations: 56.33 kB / 430.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.3024, allocations: 0.5454 MB / 431.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3024, allocations: 4 kB / 431.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-05/0.3025, allocations: 20 kB / 431.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.3025, allocations: 12 kB / 431.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.3033, allocations: 451.7 kB / 431.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.3064, allocations: 2.023 MB / 433.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.3074, allocations: 0.5908 MB / 434.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/0.308, allocations: 370.1 kB / 434.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.308, allocations: 4.562 kB / 434.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.3081, allocations: 39.12 kB / 434.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.044e-06/0.3081, allocations: 3.938 kB / 434.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00452/0.3126, allocations: 2.025 MB / 436.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3126, allocations: 59.97 kB / 437 MB, free: 7.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.313, allocations: 369.6 kB / 437.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.3131, allocations: 37.7 kB / 437.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3133, allocations: 233.5 kB / 437.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.3134, allocations: 218.1 kB / 437.8 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3136, allocations: 94.2 kB / 437.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3138, allocations: 358.7 kB / 438.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3141, allocations: 169 kB / 438.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.3145, allocations: 215.8 kB / 438.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.3152, allocations: 380.8 kB / 439 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3152, allocations: 0 / 439 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001262/0.3165, allocations: 0.6541 MB / 439.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.3165, allocations: 11.94 kB / 439.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3165, allocations: 0 / 439.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/0.3173, allocations: 255.2 kB / 439.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.3176, allocations: 59.91 kB / 440 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007635/0.3252, allocations: 7.507 MB / 447.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3256, allocations: 20.02 kB / 447.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3256, allocations: 16 kB / 447.5 MB, free: 12.45 MB / 366.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.0002629/0.3259, allocations: 173.9 kB / 447.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.326, allocations: 51.67 kB / 447.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3261, allocations: 65.03 kB / 447.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3261, allocations: 8.062 kB / 447.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/0.3261, allocations: 7.938 kB / 447.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3261, allocations: 3.984 kB / 447.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.3283, allocations: 1.329 MB / 449.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3283, allocations: 0 / 449.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3286, allocations: 51.91 kB / 449.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/0.3293, allocations: 271.1 kB / 449.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.3294, allocations: 12 kB / 449.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.3371, allocations: 7.514 MB / 457 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3371, allocations: 4.031 kB / 457 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.3391, allocations: 1.022 MB / 458 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.3393, allocations: 160.8 kB / 458.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.3394, allocations: 12 kB / 458.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.3396, allocations: 15.98 kB / 458.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.3398, allocations: 56.48 kB / 458.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.3398, allocations: 12 kB / 458.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.3401, allocations: 267.2 kB / 458.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 458.5 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008981/0.341, allocations: 176 kB / 458.7 MB, free: 0.5742 MB / 366.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.0001932/0.3412, allocations: 113.9 kB / 458.8 MB, free: 464 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.3429, allocations: 1.006 MB / 459.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3429, allocations: 0 / 459.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3441, allocations: 0.8296 MB / 460.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.3446, allocations: 96.36 kB / 460.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.347, allocations: 1.281 MB / 462 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.3476, allocations: 0.8754 MB / 462.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.3477, allocations: 52.53 kB / 462.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.3478, allocations: 31.44 kB / 463 MB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3478, allocations: 0 / 463 MB, free: 12.13 MB / 382.1 MB Notification: Performance of Templates: time 0.0172/0.365, allocations: 9.219 MB / 472.2 MB, free: 2.977 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches