Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001205/0.001205, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 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.001343/0.001343, allocations: 153.6 kB / 24.49 MB, free: 3.852 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.422/1.422, allocations: 173.4 MB / 201.1 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.17 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.1001, allocations: 52.16 MB / 371.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005982/0.1061, allocations: 4.399 MB / 376 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1087, allocations: 1.229 MB / 377.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003555/0.109, allocations: 15.94 kB / 377.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1093, allocations: 118.7 kB / 377.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.1098, allocations: 273.5 kB / 377.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.1105, allocations: 307.5 kB / 377.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.1117, allocations: 1.095 MB / 379 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.112, allocations: 175 kB / 379.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.1126, allocations: 438.5 kB / 379.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.1131, allocations: 426 kB / 380 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1133, allocations: 88 kB / 380.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1135, allocations: 116 kB / 380.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.1137, allocations: 199.3 kB / 380.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.1141, allocations: 382.3 kB / 380.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1152, allocations: 1.039 MB / 381.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1153, allocations: 0 / 381.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1153, allocations: 3.938 kB / 381.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1153, allocations: 0 / 381.8 MB, free: 13.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002714/0.118, allocations: 1.213 MB / 383 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.118, allocations: 16.92 kB / 383.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.1182, allocations: 92.38 kB / 383.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007361/0.1189, allocations: 434 kB / 383.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.119, allocations: 45.67 kB / 383.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1191, allocations: 68.38 kB / 383.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.1206, allocations: 0.7764 MB / 384.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.1206, allocations: 0 / 384.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/0.1207, allocations: 28 kB / 384.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1207, allocations: 16 kB / 384.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.1225, allocations: 0.6922 MB / 385.2 MB, free: 9.547 MB / 350.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.003831/0.1264, allocations: 1.813 MB / 387 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.1279, allocations: 0.5621 MB / 387.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007911/0.1287, allocations: 306.2 kB / 387.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.1287, allocations: 12.48 kB / 387.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.1298, allocations: 0.5497 MB / 388.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.904e-06/0.1298, allocations: 0 / 388.4 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07056/0.2004, allocations: 15.24 MB / 403.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.2005, allocations: 141.5 kB / 403.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.2011, allocations: 0.5224 MB / 404.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.2012, allocations: 45.7 kB / 404.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.2016, allocations: 392.7 kB / 404.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.2018, allocations: 333.2 kB / 405.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.2022, allocations: 182.6 kB / 405.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.2024, allocations: 382.8 kB / 405.6 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.2046, allocations: 0.7785 MB / 406.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.207, allocations: 1.088 MB / 407.5 MB, free: 2.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.2115, allocations: 1.701 MB / 409.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2115, allocations: 3.938 kB / 409.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0243/0.2358, allocations: 5.397 MB / 414.6 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/0.2359, allocations: 71.39 kB / 414.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2359, allocations: 7.938 kB / 414.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03512/0.271, allocations: 6.822 MB / 421.5 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.2718, allocations: 151.7 kB / 421.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.2783, allocations: 3.024 MB / 424.7 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.28, allocations: 171.9 kB / 424.8 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.2801, allocations: 47.97 kB / 424.9 MB, free: 1.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004382/0.2805, allocations: 229.6 kB / 425.1 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.2807, allocations: 83.48 kB / 425.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02338/0.3041, allocations: 5.064 MB / 430.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.3041, allocations: 12 kB / 430.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3041, allocations: 0 / 430.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.3041, allocations: 3.984 kB / 430.3 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.3054, allocations: 0.7777 MB / 431.1 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3054, allocations: 256 / 431.1 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.306, allocations: 87.88 kB / 431.1 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03501/0.341, allocations: 6.782 MB / 437.9 MB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/0.3412, allocations: 27.98 kB / 438 MB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006593/0.3478, allocations: 3.036 MB / 441 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3478, allocations: 0 / 441 MB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/0.3735, allocations: 5.952 MB / 446.9 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.3737, allocations: 67.58 kB / 447 MB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3739, allocations: 23.94 kB / 447 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.3754, allocations: 171.8 kB / 447.2 MB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.3757, allocations: 96.83 kB / 447.3 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.3758, allocations: 35.97 kB / 447.3 MB, free: 10.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004556/0.3763, allocations: 346.8 kB / 447.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3763, allocations: 3.938 kB / 447.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008339/0.3771, allocations: 256 kB / 447.9 MB, free: 10.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.3774, allocations: 135.2 kB / 448.1 MB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00648/0.3838, allocations: 2.027 MB / 450.1 MB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3838, allocations: 0 / 450.1 MB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.3876, allocations: 1.012 MB / 451.1 MB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.3884, allocations: 130.4 kB / 451.2 MB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.3923, allocations: 1.803 MB / 453 MB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3927, allocations: 353.7 kB / 453.4 MB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.3929, allocations: 62.2 kB / 453.4 MB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.393, allocations: 32.5 kB / 453.5 MB, free: 4.398 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.393, allocations: 0 / 453.5 MB, free: 4.398 MB / 414.1 MB Notification: Performance of Templates: time 0.03199/0.425, allocations: 18.97 MB / 472.4 MB, free: 1.531 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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: 5.8363422099500895]