Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.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.001669/0.001669, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00208/0.00208, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 43.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006048/0.2554, allocations: 4.436 MB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.2577, allocations: 1.241 MB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.258, allocations: 19.81 kB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.2583, allocations: 126.7 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.2588, allocations: 265.6 kB / 438.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.2594, allocations: 311.5 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2606, allocations: 1.099 MB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2609, allocations: 190 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.2614, allocations: 430.5 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.262, allocations: 482 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.2621, allocations: 92 kB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.2624, allocations: 116 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2625, allocations: 199.3 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.2629, allocations: 382.2 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2641, allocations: 1.042 MB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2641, allocations: 0 / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2641, allocations: 0 / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2641, allocations: 0 / 442.7 MB, free: 12.28 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.002692/0.2668, allocations: 1.209 MB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2669, allocations: 8.031 kB / 443.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.267, allocations: 104.3 kB / 444 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.2678, allocations: 426.1 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.2679, allocations: 45.69 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.268, allocations: 68.33 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.2695, allocations: 0.7803 MB / 445.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2695, allocations: 7.984 kB / 445.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.946e-05/0.2696, allocations: 24 kB / 445.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2696, allocations: 16 kB / 445.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2714, allocations: 0.696 MB / 446.1 MB, free: 8.801 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.00389/0.2753, allocations: 1.796 MB / 447.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.2767, allocations: 0.5514 MB / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007541/0.2775, allocations: 317.9 kB / 448.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/0.2776, allocations: 8.422 kB / 448.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.2786, allocations: 0.541 MB / 449.3 MB, free: 5.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.345e-06/0.2786, allocations: 3.938 kB / 449.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.1282/0.4069, allocations: 15.25 MB / 464.6 MB, free: 6.133 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.407, allocations: 149.5 kB / 464.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.4082, allocations: 0.5223 MB / 465.2 MB, free: 5.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.4085, allocations: 41.7 kB / 465.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/0.409, allocations: 400.7 kB / 465.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/0.4095, allocations: 325.2 kB / 466 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000697/0.4102, allocations: 182.5 kB / 466.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000317/0.4105, allocations: 390.7 kB / 466.5 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/0.4148, allocations: 0.7784 MB / 467.3 MB, free: 3.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/0.4197, allocations: 1.092 MB / 468.4 MB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008417/0.4281, allocations: 1.693 MB / 470.1 MB, free: 300 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4281, allocations: 3.938 kB / 470.1 MB, free: 296 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.04565/0.4738, allocations: 5.409 MB / 475.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.4739, allocations: 67.41 kB / 475.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.4739, allocations: 4 kB / 475.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04507/0.519, allocations: 6.841 MB / 482.4 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.5197, allocations: 151.7 kB / 482.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/0.5272, allocations: 3.161 MB / 485.7 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.5289, allocations: 175.8 kB / 485.9 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.529, allocations: 43.98 kB / 485.9 MB, free: 324 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.0004433/0.5295, allocations: 237.6 kB / 486.2 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5297, allocations: 83.92 kB / 486.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/0.5542, allocations: 5.083 MB / 491.3 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.5542, allocations: 8 kB / 491.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.5542, allocations: 0 / 491.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.5542, allocations: 3.984 kB / 491.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.5555, allocations: 0.7685 MB / 492.1 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.5555, allocations: 0 / 492.1 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5561, allocations: 91.89 kB / 492.2 MB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03767/0.5938, allocations: 6.789 MB / 499 MB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/0.5939, allocations: 23.97 kB / 499 MB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006227/0.6002, allocations: 3.041 MB / 0.4903 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6002, allocations: 7.984 kB / 0.4903 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/0.6268, allocations: 5.956 MB / 0.4961 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.627, allocations: 67.52 kB / 0.4962 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.6272, allocations: 19.94 kB / 0.4962 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/0.6287, allocations: 171.8 kB / 0.4964 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.6289, allocations: 96.83 kB / 0.4965 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.629, allocations: 40.16 kB / 0.4965 GB, free: 9.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.6295, allocations: 350.8 kB / 0.4968 GB, free: 9.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6295, allocations: 0 / 0.4968 GB, free: 9.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007858/0.6303, allocations: 259.9 kB / 0.4971 GB, free: 9.09 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.0002741/0.6306, allocations: 135.1 kB / 0.4972 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00721/0.6378, allocations: 2.152 MB / 0.4993 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.6378, allocations: 4 kB / 0.4993 GB, free: 6.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.6414, allocations: 1.023 MB / 0.5003 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.6421, allocations: 128.8 kB / 0.5004 GB, free: 5.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.6462, allocations: 1.793 MB / 0.5022 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.6466, allocations: 357.6 kB / 0.5025 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.6469, allocations: 62.22 kB / 0.5026 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.647, allocations: 35.44 kB / 0.5026 GB, free: 3.316 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.647, allocations: 0 / 0.5026 GB, free: 3.316 MB / 414.1 MB Notification: Performance of Templates: time 0.03202/0.679, allocations: 20.23 MB / 0.5224 GB, free: 15.21 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.8212500710069435]