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.001282/0.001282, allocations: 106.6 kB / 18.4 MB, free: 4.699 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.001244/0.001245, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.337/1.337, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001157/0.001157, allocations: 55.92 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07421/0.07538, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.0032/0.07862, allocations: 2.465 MB / 378.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.07964, allocations: 0.6747 MB / 379 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.228e-05/0.07974, allocations: 4 kB / 379 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.07989, allocations: 35.64 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.08, allocations: 75.33 kB / 379.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.08028, allocations: 83.78 kB / 379.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.08057, allocations: 274.7 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.08076, allocations: 92.27 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.08091, allocations: 99.64 kB / 379.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.08109, allocations: 115.5 kB / 379.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.08114, allocations: 20 kB / 379.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.08123, allocations: 39.97 kB / 379.8 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.0813, allocations: 55.77 kB / 379.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.08141, allocations: 119.5 kB / 380 MB, free: 440 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.08169, allocations: 279 kB / 380.2 MB, free: 160 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08171, allocations: 4 kB / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.08171, allocations: 0 / 380.2 MB, free: 156 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.08173, 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.1611/0.2428, allocations: 0.515 MB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.2429, allocations: 8.938 kB / 380.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.2429, allocations: 26.94 kB / 380.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.2432, allocations: 243.6 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2433, allocations: 13.81 kB / 381 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2433, allocations: 22.91 kB / 381.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.2437, allocations: 192.9 kB / 381.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2437, allocations: 0 / 381.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2437, allocations: 12.5 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2437, allocations: 6.969 kB / 381.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.244, allocations: 151.8 kB / 381.4 MB, free: 12.84 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.001247/0.2453, allocations: 0.9271 MB / 382.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.2456, allocations: 157.4 kB / 382.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.2458, allocations: 98.52 kB / 382.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2458, allocations: 6.172 kB / 382.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2459, allocations: 36.06 kB / 382.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2459, allocations: 0 / 382.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001299/0.2472, allocations: 413.6 kB / 383 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.2472, allocations: 54.84 kB / 383.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.2474, allocations: 172.9 kB / 383.3 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2474, allocations: 34.92 kB / 383.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.2475, allocations: 143.2 kB / 383.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.2476, allocations: 64.5 kB / 383.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.2476, allocations: 37.09 kB / 383.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.2477, allocations: 324.4 kB / 383.8 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2478, allocations: 51.7 kB / 383.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.248, allocations: 77.02 kB / 384 MB, free: 11.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2483, allocations: 127.2 kB / 384.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2483, allocations: 0.5625 kB / 384.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004263/0.2487, allocations: 217.4 kB / 384.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2488, allocations: 10.05 kB / 384.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2488, allocations: 6.031 kB / 384.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.2502, allocations: 216.2 kB / 384.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2503, allocations: 30.3 kB / 384.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003662/0.2507, allocations: 0.6164 MB / 385.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2508, allocations: 17.8 kB / 385.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.2509, allocations: 5.484 kB / 385.2 MB, free: 10.43 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 8.644e-05/0.251, allocations: 126.3 kB / 385.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.251, allocations: 19.59 kB / 385.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.2514, allocations: 231.4 kB / 385.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2515, allocations: 5.188 kB / 385.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2515, allocations: 1.031 kB / 385.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2515, allocations: 95.38 kB / 385.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.2515, allocations: 5.125 kB / 385.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2517, allocations: 6.734 kB / 385.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2517, allocations: 17.25 kB / 385.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007741/0.2525, allocations: 342.5 kB / 386 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004529/0.253, allocations: 441.5 kB / 386.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001256/0.2531, allocations: 54.45 kB / 386.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.2532, allocations: 132.7 kB / 386.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of Backend: time 3.71e-07/0.2532, allocations: 0 / 386.6 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.2538, allocations: 186.6 kB / 386.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008699/0.2547, allocations: 1.04 MB / 387.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of Templates: time 0.006656/0.2614, allocations: 2.525 MB / 390.4 MB, free: 8.355 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