Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001432/0.001432, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.388e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003914/0.003938, allocations: 2.413 MB / 274.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.005408, allocations: 0.6505 MB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005516, allocations: 4 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.005665, allocations: 31.64 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.005819, allocations: 79.28 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.006076, allocations: 59.91 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.006424, allocations: 274.6 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.006606, allocations: 76.5 kB / 275.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.006817, allocations: 155.6 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006964, allocations: 79.77 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.007006, allocations: 20 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.007093, allocations: 27.94 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.007149, allocations: 51.83 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.00726, allocations: 83.81 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.007625, allocations: 263.1 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.007631, allocations: 4 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.007632, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007637, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009937/0.008631, allocations: 477.7 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008671, allocations: 15.98 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.008829, allocations: 52.73 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.00915, allocations: 169.9 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.009174, allocations: 16.88 kB / 277.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.009228, allocations: 24.38 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.009728, allocations: 249 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.009744, allocations: 8.141 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.009774, allocations: 12.36 kB / 277.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.009785, allocations: 7.938 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.01021, allocations: 161.8 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.01155, allocations: 0.7013 MB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.01197, allocations: 142.6 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.01216, allocations: 72.81 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.01218, allocations: 4 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.01222, allocations: 34.56 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01222, allocations: 4 kB / 278.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009034/0.01312, allocations: 262.2 kB / 278.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.01316, allocations: 51.41 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01334, allocations: 159.2 kB / 279 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.01338, allocations: 33.64 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.0135, allocations: 156.3 kB / 279.2 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.01356, allocations: 51.55 kB / 279.2 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.01363, allocations: 41.72 kB / 279.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.01381, allocations: 326.8 kB / 279.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.01398, allocations: 55.91 kB / 279.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.01418, allocations: 100.2 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.01451, allocations: 140.2 kB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01451, allocations: 0 / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005312/0.01504, allocations: 225 kB / 280.1 MB, free: 9.621 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01506, allocations: 4 kB / 280.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01506, allocations: 0 / 280.1 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.01528, allocations: 40.95 kB / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01545, allocations: 43.86 kB / 280.2 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.01692, allocations: 1.343 MB / 281.5 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.0171, allocations: 23.91 kB / 281.6 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.01712, allocations: 12 kB / 281.6 MB, free: 8.047 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.01727, allocations: 137.8 kB / 281.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.01732, allocations: 23.84 kB / 281.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.01737, allocations: 17.81 kB / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.01738, allocations: 4 kB / 281.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01738, allocations: 0 / 281.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01738, allocations: 0 / 281.8 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.01818, allocations: 438.9 kB / 282.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01818, allocations: 0 / 282.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.01857, allocations: 31.97 kB / 282.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.01872, allocations: 32.84 kB / 282.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.01874, allocations: 4 kB / 282.3 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.02011, allocations: 1.351 MB / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02011, allocations: 0 / 283.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.02082, allocations: 363.3 kB / 284 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.02088, allocations: 19.92 kB / 284 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.02091, allocations: 8 kB / 284 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.0211, allocations: 15.98 kB / 284 MB, free: 5.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.667e-05/0.02117, allocations: 19.95 kB / 284 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.02118, allocations: 4.062 kB / 284 MB, free: 5.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.02129, allocations: 120.9 kB / 284.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02129, allocations: 0 / 284.1 MB, free: 5.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02164, allocations: 67.83 kB / 284.2 MB, free: 5.242 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000129/0.02177, allocations: 99.19 kB / 284.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.02234, allocations: 264.8 kB / 284.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02234, allocations: 4 kB / 284.6 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.02265, allocations: 186.5 kB / 284.7 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.02297, allocations: 31.92 kB / 284.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008428/0.02381, allocations: 424.8 kB / 285.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.02395, allocations: 125.2 kB / 285.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.117e-05/0.02402, allocations: 13.48 kB / 285.3 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.02407, allocations: 12.5 kB / 285.3 MB, free: 4.031 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02407, allocations: 8 kB / 285.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of Templates: time 0.006499/0.03057, allocations: 2.4 MB / 287.8 MB, free: 1.656 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.310678704991005]