Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 75.86 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 50.55 MB / 410 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003316/0.271, allocations: 2.528 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.2721, allocations: 0.6895 MB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.2722, allocations: 4 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.2724, allocations: 43.58 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2725, allocations: 71.34 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2728, allocations: 95.81 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2731, allocations: 286.6 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2733, allocations: 88.33 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2735, allocations: 111.6 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2737, allocations: 111.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.2737, allocations: 20 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-05/0.2738, allocations: 47.97 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.2739, allocations: 51.78 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.274, allocations: 123.4 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.2743, allocations: 284.2 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2743, allocations: 4 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2743, allocations: 3.938 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2743, allocations: 4 kB / 414.5 MB, free: 12.99 MB / 334.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.000966/0.2753, allocations: 0.5379 MB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2754, allocations: 8.031 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.2756, allocations: 36.64 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.276, allocations: 244 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2761, allocations: 16.81 kB / 415.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/0.2761, allocations: 16.38 kB / 415.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.2767, allocations: 199.5 kB / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.2767, allocations: 0 / 415.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.2768, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2768, allocations: 4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.2773, allocations: 149.7 kB / 415.7 MB, free: 11.7 MB / 334.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.001878/0.2792, allocations: 0.9334 MB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.2796, allocations: 162.5 kB / 416.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.28, allocations: 96.81 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.28, allocations: 4 kB / 416.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.28, allocations: 30.56 kB / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.28, allocations: 0 / 416.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001917/0.282, allocations: 419.4 kB / 417.3 MB, free: 9.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.282, allocations: 55.41 kB / 417.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.2823, allocations: 180.9 kB / 417.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2823, allocations: 29.7 kB / 417.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2825, allocations: 152.1 kB / 417.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.2826, allocations: 59.11 kB / 417.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2827, allocations: 41.7 kB / 417.8 MB, free: 9.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2828, allocations: 326.8 kB / 418.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.283, allocations: 51.91 kB / 418.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2832, allocations: 73.62 kB / 418.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.2836, allocations: 124.1 kB / 418.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2836, allocations: 0 / 418.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006199/0.2843, allocations: 226.2 kB / 418.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2843, allocations: 4 kB / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2843, allocations: 0 / 418.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.2862, allocations: 228.5 kB / 418.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.2865, allocations: 39.91 kB / 418.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.2871, allocations: 0.6069 MB / 419.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2873, allocations: 11.91 kB / 419.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2874, allocations: 4 kB / 419.5 MB, free: 7.633 MB / 334.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.0001669/0.2875, allocations: 137.7 kB / 419.6 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.44e-05/0.2876, allocations: 19.88 kB / 419.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.2883, allocations: 234.5 kB / 419.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.2883, allocations: 0 / 419.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2883, allocations: 0 / 419.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.2884, allocations: 92.91 kB / 420 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.2885, allocations: 4 kB / 420 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2887, allocations: 19.94 kB / 420 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.2888, allocations: 19.86 kB / 420 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00128/0.2901, allocations: 345.4 kB / 420.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007808/0.2909, allocations: 425.5 kB / 420.8 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002051/0.2911, allocations: 63.95 kB / 420.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.2913, allocations: 128.1 kB / 421 MB, free: 6.113 MB / 334.1 MB Notification: Performance of Backend: time 8.11e-07/0.2913, allocations: 0 / 421 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009066/0.2922, allocations: 189.9 kB / 421.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of SimCode: time 0.001441/0.2937, allocations: 1.046 MB / 422.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of Templates: time 0.008933/0.3026, allocations: 2.614 MB / 424.8 MB, free: 2.234 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches