Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.481/1.481, allocations: 227.7 MB / 247.7 MB, free: 10.34 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.001906/0.001906, allocations: 64.88 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.105, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006647/0.1117, allocations: 5.195 MB / 363.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009095/0.1208, allocations: 6.674 MB / 370.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/0.1217, allocations: 31.75 kB / 370.3 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.1234, allocations: 0.5084 MB / 370.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.126, allocations: 0.8108 MB / 371.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1273, allocations: 438.4 kB / 372.1 MB, free: 248 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1637/0.291, allocations: 2.032 MB / 374.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.2914, allocations: 171.4 kB / 374.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006442/0.292, allocations: 348.3 kB / 374.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.2925, allocations: 344.9 kB / 375 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.2925, allocations: 30.22 kB / 375 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.2938, allocations: 499.8 kB / 375.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2939, allocations: 118 kB / 375.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.2944, allocations: 446.4 kB / 376 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.2961, allocations: 1.268 MB / 377.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2961, allocations: 0.6562 kB / 377.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2961, allocations: 1.469 kB / 377.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.2962, allocations: 3 kB / 377.3 MB, free: 9.156 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002197/0.2984, allocations: 1.438 MB / 378.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.2984, allocations: 11.69 kB / 378.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.2989, allocations: 137.7 kB / 378.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.3002, allocations: 0.8566 MB / 379.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.3003, allocations: 21.62 kB / 379.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.3003, allocations: 27.41 kB / 379.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/0.3009, allocations: 303.2 kB / 380.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3009, allocations: 0 / 380.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.301, allocations: 9.062 kB / 380.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.301, allocations: 10.14 kB / 380.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.3014, allocations: 229.8 kB / 380.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3032, allocations: 1.129 MB / 381.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.3036, allocations: 243.9 kB / 381.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/0.304, allocations: 297.9 kB / 382 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008582/0.3049, allocations: 0.8313 MB / 382.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3049, allocations: 37.34 kB / 382.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.244e-06/0.3049, allocations: 0 / 382.9 MB, free: 6.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002849/0.3078, allocations: 1.547 MB / 384.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3078, allocations: 116.4 kB / 384.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3089, allocations: 0.928 MB / 385.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.309, allocations: 36.58 kB / 385.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.3092, allocations: 361.5 kB / 385.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.3093, allocations: 127 kB / 386 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.3095, allocations: 118.7 kB / 386.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.3095, allocations: 322.8 kB / 386.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.3098, allocations: 120.8 kB / 386.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.31, allocations: 163.9 kB / 386.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3114, allocations: 0.7287 MB / 387.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3114, allocations: 1.344 kB / 387.4 MB, free: 3.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009257/0.3123, allocations: 0.5578 MB / 387.9 MB, free: 3.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.3124, allocations: 42.61 kB / 388 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.3124, allocations: 16.7 kB / 388 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.3126, allocations: 72.05 kB / 388.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3129, allocations: 47.77 kB / 388.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.3148, allocations: 3.323 MB / 391.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.3153, allocations: 12.61 kB / 391.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.3154, allocations: 29.08 kB / 391.5 MB, free: 15.96 MB / 318.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = "V" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.3159, allocations: 259.2 kB / 391.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.316, allocations: 126.3 kB / 391.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.3175, allocations: 0.668 MB / 392.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3175, allocations: 4.469 kB / 392.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3175, allocations: 1.344 kB / 392.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.3175, allocations: 2.438 kB / 392.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009496/0.3185, allocations: 0.6231 MB / 393.2 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/0.3185, allocations: 12.98 kB / 393.2 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.3187, allocations: 39.61 kB / 393.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.3189, allocations: 67.06 kB / 393.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.319, allocations: 19.48 kB / 393.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.3218, allocations: 3.338 MB / 396.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3218, allocations: 1.094 kB / 396.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3233, allocations: 0.8513 MB / 397.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.3238, allocations: 278.3 kB / 397.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3239, allocations: 7.656 kB / 397.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3242, allocations: 16.88 kB / 397.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.3243, allocations: 27.94 kB / 397.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.3243, allocations: 20.67 kB / 397.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008222/0.3252, allocations: 0.6231 MB / 398.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3252, allocations: 0 / 398.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.3261, allocations: 225.5 kB / 398.7 MB, free: 10.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005888/0.3267, allocations: 305 kB / 399 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3281, allocations: 0.7943 MB / 399.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3281, allocations: 0 / 399.8 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.3288, allocations: 0.6149 MB / 400.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.3295, allocations: 120.6 kB / 400.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.332, allocations: 1.639 MB / 402.1 MB, free: 8.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.3326, allocations: 0.9996 MB / 403.1 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3327, allocations: 56.09 kB / 403.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3327, allocations: 0 / 403.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of Templates: time 0.02408/0.3568, allocations: 17.35 MB / 420.5 MB, free: 8.73 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches