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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.4 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 45.83 kB / 300.8 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08452, allocations: 49.45 MB / 350.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005052/0.08962, allocations: 4.259 MB / 354.5 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.09128, allocations: 0.9191 MB / 355.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.09167, allocations: 15.94 kB / 355.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.09199, allocations: 67.45 kB / 355.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.09257, allocations: 174.6 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.09291, allocations: 135.9 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000798/0.09372, allocations: 0.7283 MB / 356.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.09407, allocations: 223.1 kB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.09445, allocations: 286.9 kB / 357 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.09485, allocations: 326.5 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.622e-05/0.09496, allocations: 64 kB / 357.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.09507, allocations: 60 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.09523, allocations: 151.4 kB / 357.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.09553, allocations: 330.3 kB / 357.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.096, allocations: 0.5259 MB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.09601, allocations: 0 / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.09602, allocations: 0 / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.09604, allocations: 0 / 358.5 MB, free: 12.23 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.001457/0.0975, allocations: 0.9119 MB / 359.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.09754, allocations: 12.03 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.09766, allocations: 68.09 kB / 359.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.09809, allocations: 378 kB / 359.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.09813, allocations: 37.69 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.09822, allocations: 60.3 kB / 359.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.09909, allocations: 0.5416 MB / 360.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.09911, allocations: 7.938 kB / 360.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.09916, allocations: 20 kB / 360.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.09918, allocations: 12 kB / 360.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007809/0.09996, allocations: 447.7 kB / 360.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.1025, allocations: 2.042 MB / 363 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.1033, allocations: 0.6382 MB / 363.6 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.1039, allocations: 414 kB / 364 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.1039, allocations: 4.562 kB / 364 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.104, allocations: 47.06 kB / 364.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 1.943e-06/0.104, allocations: 0 / 364.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00408/0.1081, allocations: 2.028 MB / 366.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1081, allocations: 59.97 kB / 366.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1085, allocations: 361.7 kB / 366.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.1085, allocations: 37.7 kB / 366.6 MB, free: 3.762 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1086, allocations: 233.1 kB / 366.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1088, allocations: 201.1 kB / 367 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.1089, allocations: 90.25 kB / 367.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.109, allocations: 354.8 kB / 367.4 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.1094, allocations: 165 kB / 367.6 MB, free: 2.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.1097, allocations: 215.8 kB / 367.8 MB, free: 2.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.1104, allocations: 380.8 kB / 368.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1104, allocations: 0 / 368.2 MB, free: 2.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00117/0.1116, allocations: 0.6617 MB / 368.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1116, allocations: 11.94 kB / 368.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1116, allocations: 3.938 kB / 368.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.1123, allocations: 267.2 kB / 369.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1126, allocations: 55.91 kB / 369.1 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1426/0.2552, allocations: 7.507 MB / 376.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.2556, allocations: 16.97 kB / 376.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2556, allocations: 15.86 kB / 376.7 MB, free: 19.67 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.0002131/0.2559, allocations: 174.1 kB / 376.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.2559, allocations: 49.47 kB / 376.9 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2561, allocations: 68.02 kB / 377 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.2561, allocations: 6.156 kB / 377 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2561, allocations: 5.016 kB / 377 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2561, allocations: 4.594 kB / 377 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.2581, allocations: 1.344 MB / 378.3 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2581, allocations: 0.7969 kB / 378.3 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2584, allocations: 55.58 kB / 378.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/0.259, allocations: 264.1 kB / 378.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.2591, allocations: 12.33 kB / 378.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00479/0.2639, allocations: 7.508 MB / 386.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2639, allocations: 1.531 kB / 386.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.2655, allocations: 1.03 MB / 387.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.2656, allocations: 161.5 kB / 387.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.2657, allocations: 11.38 kB / 387.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.266, allocations: 16.81 kB / 387.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.2661, allocations: 53.73 kB / 387.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.2661, allocations: 19 kB / 387.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.2664, allocations: 257 kB / 387.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2664, allocations: 0 / 387.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008608/0.2673, allocations: 176 kB / 387.9 MB, free: 10.96 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.0001253/0.2674, allocations: 115.3 kB / 388 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.2689, allocations: 1.057 MB / 389 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2689, allocations: 1.312 kB / 389 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009314/0.2698, allocations: 0.8409 MB / 389.9 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.2703, allocations: 90.89 kB / 390 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2724, allocations: 1.518 MB / 391.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.2727, allocations: 0.8797 MB / 392.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.2728, allocations: 34.8 kB / 392.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2728, allocations: 1.156 kB / 392.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Templates: time 0.01327/0.2861, allocations: 13.82 MB / 406.2 MB, free: 472 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches