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.001372/0.001373, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004477/0.312, allocations: 2.535 MB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3138, allocations: 0.6894 MB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3139, allocations: 4 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.3141, allocations: 39.64 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3143, allocations: 75.33 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3147, allocations: 99.75 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.315, allocations: 278.7 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3152, allocations: 88.33 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.3156, allocations: 111.6 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.3158, allocations: 119.5 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.242e-05/0.3159, allocations: 24 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.316, allocations: 39.98 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.316, allocations: 43.84 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3162, allocations: 127.3 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3165, allocations: 296.1 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3166, allocations: 0 / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3166, allocations: 7.938 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3166, allocations: 0 / 414.5 MB, free: 13.02 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.0009204/0.3175, allocations: 0.5262 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3176, allocations: 12.03 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.3178, allocations: 36.64 kB / 415.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.3184, allocations: 247.9 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3184, allocations: 12.81 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.3184, allocations: 20.38 kB / 415.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.3189, allocations: 195.6 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.3189, allocations: 4 kB / 415.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3189, allocations: 8 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.319, allocations: 11.94 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.3193, allocations: 153.7 kB / 415.7 MB, free: 11.71 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.001464/0.3208, allocations: 0.9217 MB / 416.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3211, allocations: 158.6 kB / 416.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.3213, allocations: 92.77 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3213, allocations: 8 kB / 416.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3214, allocations: 34.55 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.3214, allocations: 0 / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001295/0.3227, allocations: 426.3 kB / 417.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3227, allocations: 51.41 kB / 417.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3229, allocations: 180.9 kB / 417.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3229, allocations: 29.7 kB / 417.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.323, allocations: 148.1 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.3231, allocations: 63.09 kB / 417.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.3232, allocations: 37.7 kB / 417.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3233, allocations: 330.8 kB / 418.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3234, allocations: 47.92 kB / 418.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3236, allocations: 72.88 kB / 418.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.3238, allocations: 131.9 kB / 418.4 MB, free: 8.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3239, allocations: 4 kB / 418.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004127/0.3243, allocations: 221 kB / 418.6 MB, free: 8.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3243, allocations: 4 kB / 418.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3243, allocations: 0 / 418.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.3258, allocations: 228.6 kB / 418.8 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3259, allocations: 31.98 kB / 418.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000501/0.3265, allocations: 0.6147 MB / 419.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3266, allocations: 7.938 kB / 419.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3266, allocations: 11.98 kB / 419.5 MB, free: 7.66 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.0001334/0.3268, allocations: 137.8 kB / 419.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3268, allocations: 15.81 kB / 419.7 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3273, allocations: 232.2 kB / 419.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3273, allocations: 3.984 kB / 419.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3273, allocations: 0 / 419.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.3274, allocations: 88.92 kB / 420 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3274, allocations: 4 kB / 420 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.3276, allocations: 19.92 kB / 420 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3276, allocations: 7.984 kB / 420 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008416/0.3285, allocations: 349.3 kB / 420.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005008/0.329, allocations: 429.7 kB / 420.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000123/0.3291, allocations: 51.97 kB / 420.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3292, allocations: 132.1 kB / 420.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of Backend: time 9.02e-07/0.3292, allocations: 3.938 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.3299, allocations: 190.2 kB / 421.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of SimCode: time 0.001164/0.3311, allocations: 1.038 MB / 422.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of Templates: time 0.006262/0.3374, allocations: 2.628 MB / 424.8 MB, free: 2.266 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