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.001668/0.001668, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002096/0.002096, allocations: 211.5 kB / 24.48 MB, free: 3.957 MB / 14.72 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.485/1.485, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.1 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.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 0.001922/0.001922, allocations: 67.91 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2285, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006082/0.2346, allocations: 4.425 MB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.237, allocations: 1.245 MB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.2373, allocations: 15.94 kB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2375, allocations: 126.7 kB / 438.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.238, allocations: 265.7 kB / 438.5 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.2387, allocations: 307.5 kB / 438.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.2398, allocations: 1.103 MB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.2401, allocations: 174 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.2406, allocations: 434.5 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.2411, allocations: 422 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.2413, allocations: 95.98 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2415, allocations: 112 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.2417, allocations: 199.3 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.242, allocations: 386.2 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2431, allocations: 1.039 MB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2431, allocations: 3.938 kB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2431, allocations: 0 / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.2431, allocations: 0 / 442.7 MB, free: 12.19 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.002497/0.2456, allocations: 1.213 MB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2457, allocations: 19.97 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2458, allocations: 96.33 kB / 444 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.2465, allocations: 422.1 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.2466, allocations: 45.69 kB / 444.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.2467, allocations: 72.31 kB / 444.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.2482, allocations: 0.7803 MB / 445.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2482, allocations: 4 kB / 445.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.2483, allocations: 28 kB / 445.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2483, allocations: 16 kB / 445.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.25, allocations: 0.6922 MB / 446.1 MB, free: 8.699 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.003645/0.2537, allocations: 1.8 MB / 447.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.2552, allocations: 0.5587 MB / 448.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.2559, allocations: 314.6 kB / 448.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.256, allocations: 8.375 kB / 448.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.257, allocations: 0.541 MB / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.144e-06/0.257, allocations: 0 / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06765/0.3246, allocations: 15.25 MB / 464.5 MB, free: 6.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.3247, allocations: 145.5 kB / 464.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.3254, allocations: 0.5184 MB / 465.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.3256, allocations: 45.7 kB / 465.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.326, allocations: 408.6 kB / 465.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.3263, allocations: 321.2 kB / 466 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000398/0.3267, allocations: 190.5 kB / 466.2 MB, free: 4.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3269, allocations: 386.8 kB / 466.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.329, allocations: 0.7746 MB / 467.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.3314, allocations: 1.092 MB / 468.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004205/0.3356, allocations: 1.693 MB / 470.1 MB, free: 204 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3356, allocations: 7.938 kB / 470.1 MB, free: 196 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02303/0.3586, allocations: 5.401 MB / 475.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.3587, allocations: 67.44 kB / 475.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.3587, allocations: 8 kB / 475.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0336/0.3923, allocations: 6.84 MB / 482.4 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.393, allocations: 147.7 kB / 482.6 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.3999, allocations: 3.165 MB / 485.7 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.4015, allocations: 183.8 kB / 485.9 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4016, allocations: 47.97 kB / 485.9 MB, free: 216 kB / 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.0004469/0.4021, allocations: 233.6 kB / 486.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.4022, allocations: 83.48 kB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02167/0.4239, allocations: 5.08 MB / 491.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.4239, allocations: 16 kB / 491.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4239, allocations: 0 / 491.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.424, allocations: 3.984 kB / 491.4 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4253, allocations: 0.7646 MB / 492.1 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4253, allocations: 0 / 492.1 MB, free: 9.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.4258, allocations: 91.89 kB / 492.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03362/0.4594, allocations: 6.785 MB / 499 MB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.4596, allocations: 27.97 kB / 499 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006109/0.4657, allocations: 3.049 MB / 0.4903 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4657, allocations: 0 / 0.4903 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/0.4902, allocations: 5.952 MB / 0.4961 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.4904, allocations: 67.52 kB / 0.4962 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.4906, allocations: 27.98 kB / 0.4962 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.492, allocations: 167.8 kB / 0.4964 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4923, allocations: 100.8 kB / 0.4965 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.4924, allocations: 31.98 kB / 0.4965 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.4928, allocations: 350.8 kB / 0.4968 GB, free: 9.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4928, allocations: 0 / 0.4968 GB, free: 9.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.4936, allocations: 259.9 kB / 0.4971 GB, free: 8.988 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.0002635/0.4939, allocations: 138.2 kB / 0.4972 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.501, allocations: 2.148 MB / 0.4993 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.501, allocations: 3.938 kB / 0.4993 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00365/0.5046, allocations: 1.016 MB / 0.5003 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.5054, allocations: 130.4 kB / 0.5004 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.5095, allocations: 1.827 MB / 0.5022 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.5099, allocations: 361.6 kB / 0.5026 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5101, allocations: 39.44 kB / 0.5026 GB, free: 3.234 MB / 414.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5101, allocations: 0 / 0.5026 GB, free: 3.234 MB / 414.1 MB Notification: Performance of Templates: time 0.02394/0.534, allocations: 17.76 MB / 0.5199 GB, free: 1.492 MB / 430.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/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: 8.501696438994259]