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.001349/0.001349, allocations: 116.9 kB / 18.41 MB, free: 4.625 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.001444/0.001444, allocations: 190.9 kB / 21.34 MB, free: 1.695 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.433/1.433, allocations: 222.9 MB / 247 MB, free: 4.195 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.001492/0.001492, allocations: 51.92 kB / 358.7 MB, free: 8.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09616, allocations: 49.43 MB / 408.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006468/0.1027, allocations: 4.945 MB / 413.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002434/0.1051, allocations: 1.26 MB / 414.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003374/0.1055, allocations: 19.94 kB / 414.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1058, allocations: 118.7 kB / 414.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1064, allocations: 253.7 kB / 414.7 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1071, allocations: 311.4 kB / 415 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1083, allocations: 1.103 MB / 416.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.1087, allocations: 262.5 kB / 416.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005007/0.1092, allocations: 418.5 kB / 416.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005651/0.1098, allocations: 470 kB / 417.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1099, allocations: 88 kB / 417.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1102, allocations: 108 kB / 417.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.1104, allocations: 191.3 kB / 417.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.1109, allocations: 453.8 kB / 418.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.1122, allocations: 1.008 MB / 419.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1122, allocations: 0 / 419.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1122, allocations: 3.938 kB / 419.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1122, allocations: 0 / 419.1 MB, free: 11.77 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.002694/0.1149, allocations: 1.281 MB / 420.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.115, allocations: 11.97 kB / 420.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1151, allocations: 96.38 kB / 420.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.1159, allocations: 492 kB / 420.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.1159, allocations: 45.69 kB / 421 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.116, allocations: 64.38 kB / 421 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1175, allocations: 0.6587 MB / 421.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1175, allocations: 3.938 kB / 421.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.1176, allocations: 28 kB / 421.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1176, allocations: 16 kB / 421.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.1194, allocations: 0.6961 MB / 422.4 MB, free: 8.277 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.004294/0.1238, allocations: 2.387 MB / 424.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1253, allocations: 0.5943 MB / 425.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/0.1262, allocations: 330.6 kB / 425.7 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.1262, allocations: 8.422 kB / 425.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.1272, allocations: 421.4 kB / 426.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.994e-06/0.1273, allocations: 0 / 426.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.2694/0.3967, allocations: 15.43 MB / 441.6 MB, free: 21.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3968, allocations: 143.7 kB / 441.7 MB, free: 21.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.3974, allocations: 0.5232 MB / 442.3 MB, free: 21.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.3976, allocations: 43.95 kB / 442.3 MB, free: 21.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3978, allocations: 395.2 kB / 442.7 MB, free: 21.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.398, allocations: 323.6 kB / 443 MB, free: 20.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000361/0.3984, allocations: 187.2 kB / 443.2 MB, free: 20.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.3985, allocations: 394.4 kB / 443.6 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.4005, allocations: 0.7198 MB / 444.3 MB, free: 20.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/0.4027, allocations: 0.9523 MB / 445.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.4068, allocations: 1.699 MB / 446.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4068, allocations: 2.438 kB / 446.9 MB, free: 19.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02269/0.4295, allocations: 5.374 MB / 452.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.4296, allocations: 61.03 kB / 452.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4296, allocations: 6.203 kB / 452.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03281/0.4625, allocations: 6.836 MB / 459.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.4632, allocations: 147.2 kB / 459.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005359/0.4686, allocations: 3.017 MB / 462.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.4703, allocations: 179.8 kB / 462.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.4704, allocations: 43.98 kB / 462.6 MB, free: 9.754 MB / 350.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.0004035/0.4708, allocations: 235.4 kB / 462.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.471, allocations: 83.48 kB / 462.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/0.4921, allocations: 5.103 MB / 468 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4921, allocations: 15.98 kB / 468 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4921, allocations: 0 / 468 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.4922, allocations: 3.984 kB / 468 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.4936, allocations: 1.103 MB / 469.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.4936, allocations: 3.938 kB / 469.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.4941, allocations: 102.4 kB / 469.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03381/0.5279, allocations: 6.782 MB / 476 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.5282, allocations: 23.98 kB / 476 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006477/0.5347, allocations: 3.036 MB / 479.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5347, allocations: 1.781 kB / 479.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02553/0.5603, allocations: 5.992 MB / 485.1 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.5606, allocations: 144.6 kB / 485.2 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.5609, allocations: 23.98 kB / 485.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.5624, allocations: 171.8 kB / 485.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.5628, allocations: 101.5 kB / 485.5 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.5629, allocations: 31.98 kB / 485.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000482/0.5634, allocations: 354.8 kB / 485.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5634, allocations: 0 / 485.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.5642, allocations: 259.9 kB / 486.1 MB, free: 2.09 MB / 366.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.0002795/0.5645, allocations: 131.9 kB / 486.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006734/0.5713, allocations: 2.059 MB / 488.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5713, allocations: 0 / 488.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003904/0.5752, allocations: 1.087 MB / 489.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.5761, allocations: 129.6 kB / 489.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.5802, allocations: 1.847 MB / 491.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.5808, allocations: 0.9545 MB / 492.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.581, allocations: 39.44 kB / 492.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.581, allocations: 0 / 492.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02556/0.6066, allocations: 17.45 MB / 0.4979 GB, free: 10.39 MB / 398.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.600847416906618]