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.00187/0.00187, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.002327/0.002327, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.468/1.468, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.002129/0.002129, allocations: 55.91 kB / 374.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 53.33 MB / 427.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.2032/0.3167, allocations: 4.981 MB / 432.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.319, allocations: 1.294 MB / 433.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.3193, allocations: 16.03 kB / 433.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3196, allocations: 125.7 kB / 433.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.32, allocations: 265 kB / 434.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.3206, allocations: 309 kB / 434.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008144/0.3214, allocations: 1.097 MB / 435.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.3217, allocations: 189.2 kB / 435.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.3221, allocations: 432.2 kB / 436.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.3226, allocations: 477 kB / 436.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3228, allocations: 93.62 kB / 436.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.323, allocations: 117 kB / 436.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.3231, allocations: 200.4 kB / 437.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.3235, allocations: 448.7 kB / 437.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3245, allocations: 1.042 MB / 438.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3245, allocations: 0 / 438.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3245, allocations: 0 / 438.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3245, allocations: 1.094 kB / 438.5 MB, free: 6.617 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.002411/0.327, allocations: 1.277 MB / 439.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.327, allocations: 9.859 kB / 439.8 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.3272, allocations: 102.8 kB / 439.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.3278, allocations: 496.8 kB / 440.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3279, allocations: 47.88 kB / 440.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.328, allocations: 66.84 kB / 440.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.3293, allocations: 0.6587 MB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3294, allocations: 1.938 kB / 441.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.3294, allocations: 25.78 kB / 441.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3294, allocations: 15.81 kB / 441.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.3311, allocations: 0.6945 MB / 441.9 MB, free: 4.805 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.003992/0.3351, allocations: 2.377 MB / 444.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3366, allocations: 0.5529 MB / 444.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.3373, allocations: 312.4 kB / 445.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.3374, allocations: 11.78 kB / 445.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.3383, allocations: 430.8 kB / 445.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.194e-06/0.3383, allocations: 0 / 445.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07114/0.4095, allocations: 15.38 MB / 461 MB, free: 13.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.4096, allocations: 149 kB / 461.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008396/0.4105, allocations: 0.5247 MB / 461.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.4107, allocations: 42.95 kB / 461.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.4111, allocations: 390.9 kB / 462.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/0.4116, allocations: 331.5 kB / 462.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.412, allocations: 184.7 kB / 462.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002696/0.4123, allocations: 387.2 kB / 462.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.4146, allocations: 0.7256 MB / 463.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.417, allocations: 0.9614 MB / 464.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004638/0.4217, allocations: 1.7 MB / 466.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4217, allocations: 0 / 466.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02456/0.4462, allocations: 5.336 MB / 471.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.4463, allocations: 63.41 kB / 471.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.4464, allocations: 8 kB / 471.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03575/0.4821, allocations: 6.845 MB / 478.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.4829, allocations: 143.7 kB / 478.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.4906, allocations: 3.165 MB / 481.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4925, allocations: 183.8 kB / 482.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.4926, allocations: 43.98 kB / 482.1 MB, free: 8.965 MB / 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.0005526/0.4932, allocations: 234.6 kB / 482.3 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4934, allocations: 83.48 kB / 482.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02347/0.5169, allocations: 5.072 MB / 487.5 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.5169, allocations: 12.88 kB / 487.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5169, allocations: 3.938 kB / 487.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/0.517, allocations: 3.984 kB / 487.5 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.519, allocations: 1.103 MB / 488.6 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.519, allocations: 0 / 488.6 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.5196, allocations: 103.8 kB / 488.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03541/0.5551, allocations: 6.795 MB / 495.5 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.5553, allocations: 23.98 kB / 495.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006677/0.562, allocations: 3.041 MB / 498.6 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.562, allocations: 0 / 498.6 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/0.5879, allocations: 5.947 MB / 0.4927 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.5883, allocations: 156.5 kB / 0.4928 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.5887, allocations: 16 kB / 0.4929 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/0.5903, allocations: 171.8 kB / 0.493 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.5906, allocations: 92.88 kB / 0.4931 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.5908, allocations: 35.97 kB / 0.4931 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000508/0.5913, allocations: 354.8 kB / 0.4935 GB, free: 1.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5913, allocations: 0 / 0.4935 GB, free: 1.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001019/0.5923, allocations: 259.9 kB / 0.4937 GB, free: 1.332 MB / 398.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.0003599/0.5927, allocations: 131.3 kB / 0.4939 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.6002, allocations: 2.097 MB / 0.4959 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6002, allocations: 4 kB / 0.4959 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003865/0.6041, allocations: 1.019 MB / 0.4969 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.6051, allocations: 138.7 kB / 0.497 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.6096, allocations: 1.833 MB / 0.4988 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.6103, allocations: 0.9545 MB / 0.4998 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.6105, allocations: 39.44 kB / 0.4998 GB, free: 11.06 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6105, allocations: 0 / 0.4998 GB, free: 11.06 MB / 414.1 MB Notification: Performance of Templates: time 0.02535/0.6358, allocations: 17.48 MB / 0.5169 GB, free: 9.637 MB / 430.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 -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: 8.692935072002001]