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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 161.7 kB / 24.49 MB, free: 3.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 47.83 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09562, allocations: 52.17 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003952/0.09957, allocations: 2.378 MB / 374 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1008, allocations: 0.6272 MB / 374.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1009, allocations: 0 / 374.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.101, allocations: 35.59 kB / 374.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1012, allocations: 75.34 kB / 374.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1015, allocations: 87.83 kB / 374.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1018, allocations: 278.7 kB / 375 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.102, allocations: 64.44 kB / 375.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1021, allocations: 115.6 kB / 375.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1023, allocations: 99.47 kB / 375.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.1023, allocations: 24 kB / 375.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-05/0.1024, allocations: 39.98 kB / 375.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1025, allocations: 47.84 kB / 375.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1026, allocations: 107.5 kB / 375.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.103, allocations: 278.9 kB / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.103, allocations: 0 / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.103, allocations: 0 / 375.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.103, allocations: 0 / 375.8 MB, free: 3.105 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.0008373/0.1038, allocations: 481.5 kB / 376.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1038, allocations: 8.922 kB / 376.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.1039, allocations: 24.8 kB / 376.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1042, allocations: 194 kB / 376.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1043, allocations: 16.88 kB / 376.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1043, allocations: 16.38 kB / 376.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.1047, allocations: 251.8 kB / 376.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1047, allocations: 0 / 376.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1047, allocations: 8 kB / 376.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1048, allocations: 4 kB / 376.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.1051, allocations: 153.9 kB / 376.9 MB, free: 1.898 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.00126/0.1064, allocations: 0.6258 MB / 377.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.1067, allocations: 138.6 kB / 377.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1069, allocations: 84.83 kB / 377.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1069, allocations: 4 kB / 377.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1069, allocations: 38.5 kB / 377.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1069, allocations: 0 / 377.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00129/0.1082, allocations: 342.3 kB / 378.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1083, allocations: 55.39 kB / 378.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1084, allocations: 174.4 kB / 378.4 MB, free: 364 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1085, allocations: 29.7 kB / 378.4 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1086, allocations: 144.5 kB / 378.6 MB, free: 180 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.1086, allocations: 67.41 kB / 378.6 MB, free: 112 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.1087, allocations: 37.7 kB / 378.7 MB, free: 68 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1089, allocations: 326.8 kB / 379 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.109, allocations: 51.92 kB / 379 MB, free: 15.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1091, allocations: 73.67 kB / 379.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.1094, allocations: 137.2 kB / 379.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1094, allocations: 0 / 379.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004227/0.1098, allocations: 210.3 kB / 379.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1098, allocations: 8 kB / 379.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1098, allocations: 3.984 kB / 379.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.1112, allocations: 220.6 kB / 379.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1114, allocations: 31.92 kB / 379.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005419/0.1119, allocations: 0.6147 MB / 380.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.112, allocations: 19.86 kB / 380.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1121, allocations: 8 kB / 380.3 MB, free: 14.33 MB / 350.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.000125/0.1122, allocations: 126.4 kB / 380.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.1122, allocations: 23.83 kB / 380.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.1128, allocations: 228.2 kB / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1128, allocations: 4 kB / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1128, allocations: 0 / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1128, allocations: 0 / 380.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008838/0.1137, allocations: 0.5024 MB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1137, allocations: 0 / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1138, allocations: 31.95 kB / 381.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.1149, allocations: 208.5 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.1149, allocations: 7.938 kB / 381.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/0.1155, allocations: 0.6187 MB / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1155, allocations: 0 / 382.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.1163, allocations: 427.9 kB / 382.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1164, allocations: 19.88 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.1164, allocations: 7.938 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1166, allocations: 11.98 kB / 382.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.1166, allocations: 11.92 kB / 382.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1166, allocations: 4 kB / 382.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1168, allocations: 136.3 kB / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 382.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000335/0.1171, allocations: 59.84 kB / 382.7 MB, free: 11.82 MB / 350.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.0001539/0.1172, allocations: 111.3 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004042/0.1176, allocations: 139.9 kB / 383 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1177, allocations: 0 / 383 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.1179, allocations: 79.89 kB / 383.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1182, allocations: 23.64 kB / 383.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1192, allocations: 0.5644 MB / 383.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.1194, allocations: 130.1 kB / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.1195, allocations: 9.484 kB / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1195, allocations: 16.5 kB / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1195, allocations: 0 / 383.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Templates: time 0.006425/0.1259, allocations: 2.219 MB / 386 MB, free: 8.516 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.253348077996634]