Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.4 kB / 18.4 MB, free: 4.57 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.001299/0.001299, allocations: 193.2 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 47.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08691, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003911/0.09086, allocations: 2.463 MB / 378.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.09231, allocations: 0.6786 MB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.09255, allocations: 7.938 kB / 379 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.09278, allocations: 35.64 kB / 379 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.09297, allocations: 71.34 kB / 379.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.09334, allocations: 75.84 kB / 379.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.09366, allocations: 278.6 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.0939, allocations: 88.33 kB / 379.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.09409, allocations: 103.6 kB / 379.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.09428, allocations: 119.4 kB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.09433, allocations: 24 kB / 379.7 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.883e-05/0.09444, allocations: 35.98 kB / 379.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.0945, allocations: 51.83 kB / 379.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.09461, allocations: 115.5 kB / 379.9 MB, free: 444 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.09494, allocations: 287 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.09496, allocations: 0 / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.09497, allocations: 0 / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.09498, allocations: 4 kB / 380.2 MB, free: 152 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.1943/0.2893, allocations: 0.5203 MB / 380.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2893, allocations: 9.5 kB / 380.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.2894, allocations: 27.78 kB / 380.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2898, allocations: 235.2 kB / 381 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2898, allocations: 16.36 kB / 381 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.2899, allocations: 24.75 kB / 381.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2903, allocations: 188.3 kB / 381.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2903, allocations: 3.938 kB / 381.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.2904, allocations: 8.578 kB / 381.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2904, allocations: 6.062 kB / 381.3 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2907, allocations: 155 kB / 381.4 MB, free: 10.7 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.292, allocations: 0.9304 MB / 382.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2923, allocations: 152.5 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2925, allocations: 97.5 kB / 382.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2926, allocations: 1.375 kB / 382.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2926, allocations: 40.67 kB / 382.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.685e-06/0.2926, allocations: 1.078 kB / 382.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00133/0.2939, allocations: 413.5 kB / 383 MB, free: 9.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.294, allocations: 59.31 kB / 383.1 MB, free: 9.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2941, allocations: 168.5 kB / 383.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2942, allocations: 27.16 kB / 383.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.2942, allocations: 149.1 kB / 383.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2943, allocations: 63.34 kB / 383.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.2944, allocations: 32.2 kB / 383.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.2944, allocations: 328.5 kB / 383.8 MB, free: 9.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2946, allocations: 54.86 kB / 383.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2947, allocations: 75.53 kB / 384 MB, free: 9.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.295, allocations: 129.2 kB / 384.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.295, allocations: 1.375 kB / 384.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004535/0.2955, allocations: 219.5 kB / 384.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2955, allocations: 5.188 kB / 384.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2955, allocations: 0.6562 kB / 384.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.297, allocations: 224.7 kB / 384.5 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2971, allocations: 33.45 kB / 384.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003808/0.2975, allocations: 0.6044 MB / 385.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2977, allocations: 20.91 kB / 385.2 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.2977, allocations: 6.891 kB / 385.2 MB, free: 8.582 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.2978, allocations: 134.3 kB / 385.3 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.2979, allocations: 15.81 kB / 385.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.2983, allocations: 227.4 kB / 385.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2983, allocations: 6.219 kB / 385.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2983, allocations: 1.078 kB / 385.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2984, allocations: 5.078 kB / 385.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.2992, allocations: 0.5861 MB / 386.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2992, allocations: 0 / 386.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2994, allocations: 27.38 kB / 386.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.3005, allocations: 213.8 kB / 386.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3005, allocations: 6.266 kB / 386.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003222/0.3008, allocations: 0.6217 MB / 387 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3009, allocations: 1.812 kB / 387 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.3016, allocations: 423.7 kB / 387.4 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.3017, allocations: 94.86 kB / 387.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.3017, allocations: 6.359 kB / 387.5 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3019, allocations: 7.031 kB / 387.5 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3019, allocations: 25.11 kB / 387.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3019, allocations: 6.219 kB / 387.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.302, allocations: 132 kB / 387.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.302, allocations: 0 / 387.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3023, allocations: 61.27 kB / 387.8 MB, free: 7.059 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.3025, allocations: 112.1 kB / 387.9 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3029, allocations: 152 kB / 388 MB, free: 6.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3029, allocations: 0 / 388 MB, free: 6.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.303, allocations: 89.83 kB / 388.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3034, allocations: 34.41 kB / 388.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.3043, allocations: 0.5685 MB / 388.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3044, allocations: 0.7393 MB / 389.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.3045, allocations: 14.22 kB / 389.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3045, allocations: 3.562 kB / 389.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of Templates: time 0.006258/0.3108, allocations: 3.088 MB / 392.6 MB, free: 5.539 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches