Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009067/0.0009065, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002111/0.0002111, allocations: 8 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08357, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004636/0.08824, allocations: 4.797 MB / 364.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.09652, allocations: 6.696 MB / 371.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.09737, allocations: 35.75 kB / 371.4 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.09892, allocations: 474.4 kB / 371.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.1014, allocations: 0.6795 MB / 372.6 MB, free: 352 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1026, allocations: 327 kB / 372.9 MB, free: 24 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1562/0.2588, allocations: 1.989 MB / 374.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.2592, allocations: 157.1 kB / 375 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.26, allocations: 327.6 kB / 375.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.2605, allocations: 329.5 kB / 375.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.2607, allocations: 20.38 kB / 375.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.262, allocations: 486.7 kB / 376.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.2622, allocations: 96.66 kB / 376.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.2627, allocations: 459.9 kB / 376.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.264, allocations: 0.9244 MB / 377.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.264, allocations: 0 / 377.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.264, allocations: 0 / 377.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.014e-05/0.264, allocations: 1.375 kB / 377.6 MB, free: 8.977 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.001937/0.266, allocations: 1.294 MB / 378.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.266, allocations: 8.906 kB / 378.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.2664, allocations: 142.6 kB / 379.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.2676, allocations: 0.8525 MB / 379.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.2676, allocations: 16.81 kB / 380 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.2677, allocations: 29.45 kB / 380 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.2683, allocations: 310.2 kB / 380.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2683, allocations: 1.797 kB / 380.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.2683, allocations: 9.344 kB / 380.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2683, allocations: 9.281 kB / 380.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.2687, allocations: 228.8 kB / 380.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.2705, allocations: 1.133 MB / 381.7 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.2709, allocations: 242 kB / 381.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.2713, allocations: 302.6 kB / 382.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007871/0.2721, allocations: 0.8379 MB / 383 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.2722, allocations: 37.12 kB / 383.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/0.2722, allocations: 0 / 383.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=39): time 0.002799/0.275, allocations: 1.582 MB / 384.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.275, allocations: 109 kB / 384.8 MB, free: 5.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.2763, allocations: 0.9369 MB / 385.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2764, allocations: 34.83 kB / 385.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.2766, allocations: 353.4 kB / 386.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.432e-05/0.2767, allocations: 134.3 kB / 386.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.2768, allocations: 38.59 kB / 386.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.2768, allocations: 321.8 kB / 386.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.2771, allocations: 126 kB / 386.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.2773, allocations: 168.1 kB / 386.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2787, allocations: 0.7509 MB / 387.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2787, allocations: 1 kB / 387.6 MB, free: 4.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008993/0.2796, allocations: 0.5624 MB / 388.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.2796, allocations: 44.48 kB / 388.2 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.2797, allocations: 17.91 kB / 388.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.2799, allocations: 67.12 kB / 388.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2801, allocations: 54.88 kB / 388.3 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.2819, allocations: 2.996 MB / 391.3 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.2823, allocations: 14.8 kB / 391.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.2824, allocations: 19.55 kB / 391.4 MB, free: 0.7695 MB / 302.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.0004084/0.2828, allocations: 258.3 kB / 391.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.283, allocations: 120.2 kB / 391.7 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.2843, allocations: 0.6707 MB / 392.4 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2843, allocations: 4.906 kB / 392.4 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2843, allocations: 5.094 kB / 392.4 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2843, allocations: 2.531 kB / 392.4 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.2853, allocations: 0.617 MB / 393 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.2853, allocations: 12.7 kB / 393.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.2855, allocations: 36.62 kB / 393.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.2857, allocations: 71.48 kB / 393.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.2858, allocations: 20 kB / 393.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.288, allocations: 2.997 MB / 396.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.288, allocations: 0.9062 kB / 396.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.2893, allocations: 0.8712 MB / 397 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.2898, allocations: 276.8 kB / 397.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.2899, allocations: 11.03 kB / 397.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.2903, allocations: 12.25 kB / 397.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.2904, allocations: 35.38 kB / 397.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.2904, allocations: 13.47 kB / 397.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008163/0.2912, allocations: 0.6305 MB / 398 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2912, allocations: 1 kB / 398 MB, free: 11.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009213/0.2922, allocations: 222.7 kB / 398.2 MB, free: 11.9 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.0006924/0.2929, allocations: 317 kB / 398.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.294, allocations: 0.7775 MB / 399.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.294, allocations: 1.375 kB / 399.3 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.2946, allocations: 0.6203 MB / 399.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.2953, allocations: 108.6 kB / 400 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.2979, allocations: 2.031 MB / 402.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.2984, allocations: 1.002 MB / 403.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2985, allocations: 51.69 kB / 403.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2986, allocations: 4 kB / 403.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of Templates: time 0.02121/0.3198, allocations: 17.27 MB / 420.4 MB, free: 9.438 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches