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.00134/0.00134, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001452/0.001452, allocations: 168 kB / 23.95 MB, free: 4.16 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.48/1.48, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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 2.124e-06/2.124e-06, allocations: 0 / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.445e-05, allocations: 5.656 kB / 325.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006822/0.006856, allocations: 4.446 MB / 329.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.009858, allocations: 1.25 MB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.01029, allocations: 14.66 kB / 330.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.01063, allocations: 129.1 kB / 330.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.01125, allocations: 271.8 kB / 331.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009997/0.01225, allocations: 317.3 kB / 331.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001541/0.01379, allocations: 1.14 MB / 332.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.01419, allocations: 177.9 kB / 332.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009301/0.01512, allocations: 0.6135 MB / 333.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006386/0.01576, allocations: 357.7 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.01592, allocations: 90.38 kB / 333.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002821/0.0162, allocations: 118 kB / 334 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.01643, allocations: 203.3 kB / 334.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.01687, allocations: 322.3 kB / 334.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.01822, allocations: 1.081 MB / 335.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.01822, allocations: 1.562 kB / 335.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01822, allocations: 0 / 335.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.01824, allocations: 0 / 335.6 MB, free: 9.516 MB / 302.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.002762/0.02101, allocations: 1.199 MB / 336.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.02105, allocations: 8.75 kB / 336.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.02127, allocations: 99.98 kB / 336.9 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.02207, allocations: 430.3 kB / 337.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.02212, allocations: 47.16 kB / 337.4 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.02227, allocations: 66.77 kB / 337.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.02383, allocations: 0.7739 MB / 338.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.02386, allocations: 5.422 kB / 338.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.02393, allocations: 26.16 kB / 338.2 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.02395, allocations: 26.33 kB / 338.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.02579, allocations: 0.6892 MB / 338.9 MB, free: 7.145 MB / 302.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.004092/0.02988, allocations: 1.809 MB / 340.7 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.03149, allocations: 0.5554 MB / 341.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008423/0.03234, allocations: 310.8 kB / 341.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.03238, allocations: 8.5 kB / 341.6 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/0.03353, allocations: 0.5496 MB / 342.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.445e-06/0.03353, allocations: 0 / 342.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07634/0.1099, allocations: 15.24 MB / 357.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.11, allocations: 145.5 kB / 357.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.1108, allocations: 0.5262 MB / 358.1 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.111, allocations: 41.7 kB / 358.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.1113, allocations: 392.7 kB / 358.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.1117, allocations: 329.2 kB / 358.8 MB, free: 3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.1122, allocations: 186.5 kB / 359 MB, free: 2.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.1124, allocations: 382.8 kB / 359.4 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.1147, allocations: 0.7785 MB / 360.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.1173, allocations: 1.084 MB / 361.2 MB, free: 448 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/0.1223, allocations: 1.705 MB / 362.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1223, allocations: 4 kB / 362.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02586/0.1481, allocations: 5.401 MB / 368.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.1482, allocations: 63.39 kB / 368.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.1482, allocations: 4 kB / 368.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0379/0.1861, allocations: 6.848 MB / 375.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.1869, allocations: 155.7 kB / 375.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.1947, allocations: 3.165 MB / 378.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.1966, allocations: 179.8 kB / 378.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.1968, allocations: 51.97 kB / 378.8 MB, free: 14.65 MB / 350.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.0004974/0.1973, allocations: 224.8 kB / 379 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.1974, allocations: 87.42 kB / 379.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02469/0.2221, allocations: 5.072 MB / 384.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.2222, allocations: 8 kB / 384.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2222, allocations: 4 kB / 384.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.2222, allocations: 7.984 kB / 384.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2236, allocations: 0.7581 MB / 385 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.2236, allocations: 0 / 385 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.2242, allocations: 91.88 kB / 385.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03726/0.2614, allocations: 6.785 MB / 391.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/0.2617, allocations: 27.97 kB / 391.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/0.2684, allocations: 3.037 MB / 394.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2684, allocations: 3.938 kB / 394.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02746/0.2959, allocations: 5.956 MB / 400.9 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.2962, allocations: 71.5 kB / 400.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.2964, allocations: 20.12 kB / 400.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/0.298, allocations: 171.8 kB / 401.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.2983, allocations: 100.8 kB / 401.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.2984, allocations: 27.98 kB / 401.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.2989, allocations: 350.8 kB / 401.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2989, allocations: 7.938 kB / 401.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008768/0.2998, allocations: 259.9 kB / 401.8 MB, free: 7.445 MB / 366.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.0003074/0.3001, allocations: 135.2 kB / 402 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008105/0.3082, allocations: 2.165 MB / 404.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3082, allocations: 4.062 kB / 404.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.3122, allocations: 1.015 MB / 405.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.3129, allocations: 122.2 kB / 405.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.3172, allocations: 1.737 MB / 407 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3175, allocations: 361.6 kB / 407.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002463/0.3178, allocations: 58.22 kB / 407.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3179, allocations: 40.48 kB / 407.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3179, allocations: 0 / 407.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of Templates: time 0.03468/0.3526, allocations: 18.85 MB / 426.3 MB, free: 15 MB / 398.1 MB " [Timeout remaining time 660] 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/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_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.816673900932074]