Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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.0007993/0.0007993, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003528/0.003528, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 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 0.843/0.843, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 325.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.637e-05, allocations: 3.828 kB / 325.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.003325/0.003341, allocations: 4.434 MB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.00533, allocations: 1.252 MB / 331.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.005556, allocations: 15.94 kB / 331.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.005762, allocations: 126.7 kB / 331.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.006069, allocations: 269.5 kB / 331.9 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.006628, allocations: 323.3 kB / 332.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.007406, allocations: 1.134 MB / 333.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.007649, allocations: 182.9 kB / 333.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.008184, allocations: 0.612 MB / 334.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.008514, allocations: 359 kB / 334.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.008602, allocations: 92 kB / 334.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.008738, allocations: 116 kB / 334.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.008842, allocations: 203.2 kB / 334.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.009035, allocations: 319.2 kB / 335.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007236/0.009758, allocations: 1.087 MB / 336.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.009761, allocations: 0 / 336.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.009762, allocations: 0 / 336.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.009773, allocations: 0 / 336.3 MB, free: 4.664 MB / 298.7 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.001445/0.01122, allocations: 1.198 MB / 337.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01125, allocations: 15.98 kB / 337.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.01136, allocations: 96.33 kB / 337.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.01181, allocations: 429.4 kB / 338 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.01184, allocations: 45.69 kB / 338.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.01192, allocations: 64.38 kB / 338.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.01301, allocations: 0.7767 MB / 338.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.01303, allocations: 8.125 kB / 338.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.01307, allocations: 28.38 kB / 338.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01308, allocations: 23.94 kB / 339 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009149/0.01399, allocations: 0.6882 MB / 339.6 MB, free: 1.188 MB / 298.7 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.002021/0.01601, allocations: 1.813 MB / 341.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.01681, allocations: 0.5549 MB / 342 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.0172, allocations: 310.2 kB / 342.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.01724, allocations: 12.48 kB / 342.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/0.01779, allocations: 0.5419 MB / 342.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.593e-06/0.01779, allocations: 0 / 342.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03122/0.04901, allocations: 15.24 MB / 358.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.04908, allocations: 145.5 kB / 358.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.04947, allocations: 0.5184 MB / 358.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.04954, allocations: 49.7 kB / 358.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.04973, allocations: 392.7 kB / 359.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.04991, allocations: 329.1 kB / 359.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.05013, allocations: 186.5 kB / 359.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.05024, allocations: 386.8 kB / 360.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.05156, allocations: 0.7746 MB / 360.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.05274, allocations: 1.088 MB / 361.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.05488, allocations: 1.693 MB / 363.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.05488, allocations: 4 kB / 363.6 MB, free: 8.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01074/0.06562, allocations: 5.409 MB / 369.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.06567, allocations: 63.41 kB / 369.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.06568, allocations: 15.88 kB / 369.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01504/0.08072, allocations: 6.836 MB / 376 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.08106, allocations: 151.7 kB / 376.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.08457, allocations: 3.172 MB / 379.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/0.08528, allocations: 179.8 kB / 379.5 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.08535, allocations: 47.97 kB / 379.5 MB, free: 8.699 MB / 346.7 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.0002899/0.08564, allocations: 229.7 kB / 379.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.08572, allocations: 83.42 kB / 379.8 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.09593, allocations: 5.064 MB / 384.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.09594, allocations: 12 kB / 384.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.09595, allocations: 4.188 kB / 384.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.09595, allocations: 7.984 kB / 384.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.09666, allocations: 0.7659 MB / 385.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.09666, allocations: 0 / 385.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.0969, allocations: 91.89 kB / 385.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01501/0.1119, allocations: 6.785 MB / 392.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.112, allocations: 31.97 kB / 392.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003175/0.1152, allocations: 3.033 MB / 395.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1152, allocations: 3.938 kB / 395.6 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.1268, allocations: 5.956 MB / 401.6 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1269, allocations: 67.52 kB / 401.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.127, allocations: 23.98 kB / 401.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.1276, allocations: 163.9 kB / 401.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.1278, allocations: 104.8 kB / 401.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.1278, allocations: 35.97 kB / 402 MB, free: 2.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.1281, allocations: 350.8 kB / 402.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1281, allocations: 0 / 402.3 MB, free: 1.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.1286, allocations: 263.9 kB / 402.6 MB, free: 1.484 MB / 362.7 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.000191/0.1288, allocations: 126.3 kB / 402.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003653/0.1324, allocations: 2.164 MB / 404.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1324, allocations: 448 / 404.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.1341, allocations: 1.022 MB / 405.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1345, allocations: 126.4 kB / 406 MB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1367, allocations: 1.779 MB / 407.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.1369, allocations: 361.6 kB / 408.1 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.137, allocations: 40.5 kB / 408.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.137, allocations: 0 / 408.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01288/0.1499, allocations: 17.76 MB / 425.9 MB, free: 10.03 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_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: 4.99155193567276]