Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 83.89 kB / 21.99 MB, free: 4.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 153.4 kB / 25.25 MB, free: 2.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 158.6 MB / 187 MB, free: 6.332 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5042,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 55.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2593, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005605/0.2649, allocations: 4.185 MB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.267, allocations: 1.245 MB / 354 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.2673, allocations: 15.94 kB / 354 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.2675, allocations: 114.8 kB / 354.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.2679, allocations: 253.8 kB / 354.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.2685, allocations: 291.5 kB / 354.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2696, allocations: 1.056 MB / 355.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2699, allocations: 182.7 kB / 355.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.2703, allocations: 422.6 kB / 356.3 MB, free: 7.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.2709, allocations: 410.1 kB / 356.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.271, allocations: 88 kB / 356.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.2712, allocations: 112 kB / 356.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2714, allocations: 195.3 kB / 357 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.2717, allocations: 370.4 kB / 357.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2728, allocations: 1.002 MB / 358.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2728, allocations: 0 / 358.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2728, allocations: 0 / 358.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2728, allocations: 3.984 kB / 358.4 MB, free: 5.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002401/0.2752, allocations: 1.17 MB / 359.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2752, allocations: 11.98 kB / 359.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.2754, allocations: 96.42 kB / 359.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.2761, allocations: 404 kB / 360.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.2761, allocations: 49.69 kB / 360.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2762, allocations: 64.36 kB / 360.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.2777, allocations: 0.7608 MB / 361 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.2777, allocations: 4 kB / 361 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.2778, allocations: 27.98 kB / 361 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2778, allocations: 12 kB / 361 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.2795, allocations: 0.6765 MB / 361.7 MB, free: 2.199 MB / 318.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.003593/0.2831, allocations: 1.743 MB / 363.4 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2847, allocations: 0.5517 MB / 364 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.2855, allocations: 310.2 kB / 364.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.2855, allocations: 8.5 kB / 364.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.2866, allocations: 0.5381 MB / 364.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 4.498e-06/0.2866, allocations: 3.984 kB / 364.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07164/0.3583, allocations: 15.25 MB / 380.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.3584, allocations: 149.5 kB / 380.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.3593, allocations: 490.7 kB / 380.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.3596, allocations: 49.7 kB / 380.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.3599, allocations: 372.8 kB / 381.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/0.3604, allocations: 325.2 kB / 381.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/0.3608, allocations: 178.6 kB / 381.6 MB, free: 14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3611, allocations: 382.8 kB / 382 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.3634, allocations: 0.7743 MB / 382.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.3658, allocations: 1.056 MB / 383.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.3703, allocations: 1.67 MB / 385.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3703, allocations: 0 / 385.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02413/0.3944, allocations: 5.374 MB / 390.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.3945, allocations: 67.39 kB / 390.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.3945, allocations: 8.125 kB / 390.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03555/0.4301, allocations: 6.836 MB / 397.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.4308, allocations: 151.7 kB / 397.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007574/0.4384, allocations: 3.153 MB / 401.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.4402, allocations: 183.8 kB / 401.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.4403, allocations: 47.91 kB / 401.3 MB, free: 9.977 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0004762/0.4408, allocations: 221.7 kB / 401.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.441, allocations: 79.47 kB / 401.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/0.4642, allocations: 5.068 MB / 406.7 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.4643, allocations: 8 kB / 406.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.4643, allocations: 0 / 406.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/0.4643, allocations: 3.984 kB / 406.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.4658, allocations: 0.7655 MB / 407.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4658, allocations: 0 / 407.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.4663, allocations: 95.83 kB / 407.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03521/0.5016, allocations: 6.785 MB / 414.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.5018, allocations: 31.91 kB / 414.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.5082, allocations: 3.037 MB / 417.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5082, allocations: 7.922 kB / 417.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02568/0.5339, allocations: 5.944 MB / 423.3 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.5341, allocations: 67.55 kB / 423.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.5343, allocations: 16 kB / 423.4 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.5358, allocations: 179.8 kB / 423.6 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.5361, allocations: 96.83 kB / 423.7 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5362, allocations: 39.91 kB / 423.7 MB, free: 3.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004475/0.5367, allocations: 326.9 kB / 424 MB, free: 3.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5367, allocations: 0 / 424 MB, free: 3.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008708/0.5375, allocations: 256 kB / 424.3 MB, free: 2.82 MB / 382.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.0002908/0.5378, allocations: 123.1 kB / 424.4 MB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007293/0.5451, allocations: 2.156 MB / 426.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5451, allocations: 0 / 426.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.5488, allocations: 1.012 MB / 427.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.5496, allocations: 134.1 kB / 427.7 MB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.5539, allocations: 1.736 MB / 429.4 MB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.5543, allocations: 348.9 kB / 429.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002465/0.5545, allocations: 53.97 kB / 429.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.5546, allocations: 36.5 kB / 429.9 MB, free: 13.13 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5546, allocations: 0 / 429.9 MB, free: 13.13 MB / 398.1 MB Notification: Performance of Templates: time 0.03094/0.5856, allocations: 18.86 MB / 448.7 MB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.803280718042515]