Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001177/0.001177, allocations: 112.1 kB / 17.29 MB, free: 6.207 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.001143/0.001143, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000964/0.0009641, allocations: 51.12 kB / 300.8 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08607, allocations: 49.44 MB / 350.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003579/0.08969, allocations: 2.55 MB / 352.8 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.09083, allocations: 0.6583 MB / 353.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.09096, allocations: 4 kB / 353.4 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.0911, allocations: 23.78 kB / 353.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.09128, allocations: 71.45 kB / 353.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.09159, allocations: 67.94 kB / 353.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.09188, allocations: 278.8 kB / 353.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.09208, allocations: 92.27 kB / 354 MB, free: 1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.09224, allocations: 103.6 kB / 354.1 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.09239, allocations: 115.5 kB / 354.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.09243, allocations: 24 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.09252, allocations: 35.98 kB / 354.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.09257, allocations: 47.84 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.09268, allocations: 127.4 kB / 354.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.09291, allocations: 211.7 kB / 354.6 MB, free: 356 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09293, allocations: 4 kB / 354.6 MB, free: 352 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09294, allocations: 3.938 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.09295, allocations: 0 / 354.6 MB, free: 348 kB / 286.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.0008254/0.09378, allocations: 0.5302 MB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.09382, allocations: 8.031 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.09389, allocations: 32.66 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.09416, allocations: 235.9 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.09419, allocations: 12.81 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.09423, allocations: 20.38 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.0946, allocations: 191.6 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.09463, allocations: 4 kB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.09466, allocations: 8 kB / 355.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.09467, allocations: 4 kB / 355.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.09498, allocations: 149.7 kB / 355.8 MB, free: 15.07 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.001332/0.09632, allocations: 0.945 MB / 356.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.09663, allocations: 146.6 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.09683, allocations: 100.8 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.09687, allocations: 4 kB / 357 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.09691, allocations: 34.56 kB / 357 MB, free: 13.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.09692, allocations: 0 / 357 MB, free: 13.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001238/0.09816, allocations: 429.9 kB / 357.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.09822, allocations: 55.41 kB / 357.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.09838, allocations: 179.1 kB / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.09842, allocations: 29.7 kB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.0985, allocations: 148.1 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.09856, allocations: 59.09 kB / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.09863, allocations: 37.7 kB / 357.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.09874, allocations: 330.8 kB / 358.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.09886, allocations: 51.98 kB / 358.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.09899, allocations: 73.67 kB / 358.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.09924, allocations: 125.7 kB / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.09925, allocations: 0 / 358.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003887/0.09964, allocations: 221 kB / 358.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.09967, allocations: 8 kB / 358.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.09968, allocations: 3.938 kB / 358.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.1011, allocations: 216.5 kB / 359 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1012, allocations: 31.98 kB / 359 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004607/0.1017, allocations: 0.6147 MB / 359.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1018, allocations: 19.86 kB / 359.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1019, allocations: 8 kB / 359.6 MB, free: 11 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.0001271/0.102, allocations: 129.8 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.102, allocations: 19.81 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.1025, allocations: 224.3 kB / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1025, allocations: 4 kB / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1025, allocations: 0 / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1025, allocations: 0 / 360 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.1034, allocations: 0.5935 MB / 360.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1034, allocations: 0 / 360.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1035, allocations: 31.91 kB / 360.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.1046, allocations: 200.6 kB / 360.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1047, allocations: 11.98 kB / 360.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004326/0.1051, allocations: 0.6186 MB / 361.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1051, allocations: 0 / 361.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.1059, allocations: 423.8 kB / 361.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.106, allocations: 100.8 kB / 362 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.106, allocations: 11.94 kB / 362 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1062, allocations: 11.98 kB / 362 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1062, allocations: 11.98 kB / 362 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1062, allocations: 12.06 kB / 362 MB, free: 8.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1064, allocations: 131.2 kB / 362.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1064, allocations: 3.938 kB / 362.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1067, allocations: 55.84 kB / 362.2 MB, free: 8.281 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.0001457/0.1068, allocations: 111.2 kB / 362.3 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003986/0.1072, allocations: 158.5 kB / 362.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1072, allocations: 4.062 kB / 362.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1074, allocations: 87.89 kB / 362.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1078, allocations: 37.16 kB / 362.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1089, allocations: 0.6593 MB / 363.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1092, allocations: 0.7361 MB / 364 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1092, allocations: 15.44 kB / 364 MB, free: 6.414 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1092, allocations: 0 / 364 MB, free: 6.414 MB / 302.1 MB Notification: Performance of Templates: time 0.004819/0.114, allocations: 3.107 MB / 367.1 MB, free: 3.312 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches