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.001469/0.001469, allocations: 108.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002588/0.002588, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.7 kB / 306.4 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1247, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004475/0.1292, allocations: 2.569 MB / 359.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1308, allocations: 0.6896 MB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.1311, allocations: 11.94 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1314, allocations: 27.77 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1316, allocations: 67.45 kB / 360.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.132, allocations: 79.86 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.1324, allocations: 274.8 kB / 360.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1326, allocations: 88.33 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.1329, allocations: 119.5 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1331, allocations: 111.5 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.1332, allocations: 20 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1333, allocations: 47.98 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.1333, allocations: 51.84 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1335, allocations: 127.3 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.1338, allocations: 287.2 kB / 361.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1338, allocations: 0 / 361.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1338, allocations: 4 kB / 361.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1339, allocations: 0 / 361.5 MB, free: 9.812 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008503/0.1347, allocations: 0.5302 MB / 362.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1348, allocations: 8.031 kB / 362.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1349, allocations: 40.64 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1352, allocations: 255.7 kB / 362.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1353, allocations: 20.8 kB / 362.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1353, allocations: 16.38 kB / 362.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1357, allocations: 191.6 kB / 362.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1357, allocations: 0 / 362.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1357, allocations: 12 kB / 362.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1357, allocations: 4 kB / 362.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.136, allocations: 149.7 kB / 362.7 MB, free: 8.504 MB / 302.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.001361/0.1374, allocations: 0.9296 MB / 363.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.1377, allocations: 150.5 kB / 363.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1379, allocations: 100.9 kB / 363.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.138, allocations: 4 kB / 363.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.138, allocations: 30.56 kB / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.138, allocations: 0 / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001248/0.1393, allocations: 426.5 kB / 364.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1393, allocations: 59.34 kB / 364.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1395, allocations: 184.2 kB / 364.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1395, allocations: 29.7 kB / 364.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1396, allocations: 152.1 kB / 364.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.1397, allocations: 59.19 kB / 364.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.1398, allocations: 33.72 kB / 364.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1399, allocations: 334.8 kB / 365.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.14, allocations: 47.98 kB / 365.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1401, allocations: 74.42 kB / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1404, allocations: 124 kB / 365.4 MB, free: 5.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1404, allocations: 4 kB / 365.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003787/0.1408, allocations: 214.2 kB / 365.6 MB, free: 5.371 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1408, allocations: 8 kB / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1408, allocations: 0 / 365.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.1422, allocations: 228.5 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1423, allocations: 35.92 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/0.1428, allocations: 0.6031 MB / 366.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.143, allocations: 19.95 kB / 366.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.143, allocations: 7.938 kB / 366.5 MB, free: 4.445 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: 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.0001288/0.1431, allocations: 136.1 kB / 366.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.1432, allocations: 15.81 kB / 366.7 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1436, allocations: 238.5 kB / 366.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1436, allocations: 0 / 366.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1437, allocations: 0 / 366.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1437, allocations: 0 / 366.9 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.1446, allocations: 0.5974 MB / 367.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1446, allocations: 0 / 367.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1447, allocations: 35.91 kB / 367.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.1458, allocations: 200.6 kB / 367.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1459, allocations: 11.98 kB / 367.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000494/0.1464, allocations: 0.6186 MB / 368.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1464, allocations: 0 / 368.4 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.1472, allocations: 424.9 kB / 368.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.495e-05/0.1472, allocations: 100.8 kB / 368.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1473, allocations: 0 / 368.9 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1474, allocations: 20.05 kB / 368.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.1475, allocations: 7.984 kB / 368.9 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1475, allocations: 8 kB / 368.9 MB, free: 1.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1476, allocations: 132.1 kB / 369.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1476, allocations: 0 / 369.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1479, allocations: 55.84 kB / 369.1 MB, free: 1.723 MB / 302.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.0002041/0.1482, allocations: 114.6 kB / 369.2 MB, free: 1.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.1486, allocations: 155.9 kB / 369.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1486, allocations: 0 / 369.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.1488, allocations: 83.98 kB / 369.5 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1492, allocations: 42.16 kB / 369.5 MB, free: 1.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1502, allocations: 0.6383 MB / 370.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2284/0.3786, allocations: 0.7323 MB / 370.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.3788, allocations: 12 kB / 370.9 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.3789, allocations: 18.38 kB / 370.9 MB, free: 20 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3789, allocations: 0 / 370.9 MB, free: 20 MB / 302.1 MB Notification: Performance of Templates: time 0.009133/0.388, allocations: 2.518 MB / 373.4 MB, free: 19.95 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches