Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 188.3 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 43.94 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2686, allocations: 52.17 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006824/0.2754, allocations: 4.419 MB / 427.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.2779, allocations: 1.241 MB / 428.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.2782, allocations: 15.94 kB / 428.8 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.2785, allocations: 118.7 kB / 428.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000549/0.2791, allocations: 265.6 kB / 429.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.2798, allocations: 315.5 kB / 429.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.2809, allocations: 1.095 MB / 430.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.2812, allocations: 181.5 kB / 430.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004861/0.2817, allocations: 426.5 kB / 431.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.2823, allocations: 422.1 kB / 431.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.2824, allocations: 92 kB / 431.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.2827, allocations: 108 kB / 431.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.2828, allocations: 203.3 kB / 431.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.2832, allocations: 382.2 kB / 432.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2844, allocations: 1.046 MB / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2844, allocations: 0 / 433.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2844, allocations: 4 kB / 433.4 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.2844, allocations: 0 / 433.4 MB, free: 4.16 MB / 334.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.002568/0.2869, allocations: 1.206 MB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.287, allocations: 8.031 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2871, allocations: 96.38 kB / 434.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.2879, allocations: 434 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.2879, allocations: 49.69 kB / 435.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.2881, allocations: 60.38 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2896, allocations: 0.7842 MB / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2896, allocations: 0 / 436 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.2896, allocations: 31.92 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.2897, allocations: 16 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.2914, allocations: 0.6883 MB / 436.7 MB, free: 0.6875 MB / 334.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.003813/0.2953, allocations: 1.816 MB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.2968, allocations: 0.5553 MB / 439.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.2975, allocations: 302 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.2976, allocations: 12.44 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2986, allocations: 0.5371 MB / 439.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.114e-06/0.2986, allocations: 3.938 kB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07096/0.3696, allocations: 15.25 MB / 455.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.3698, allocations: 149.5 kB / 455.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.3706, allocations: 0.5145 MB / 455.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.3708, allocations: 53.69 kB / 455.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.3712, allocations: 400.7 kB / 456.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.3715, allocations: 329.2 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.3719, allocations: 186.6 kB / 456.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3721, allocations: 382.8 kB / 457.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.3744, allocations: 0.7746 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/0.3768, allocations: 1.088 MB / 459 MB, free: 9.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/0.3812, allocations: 1.701 MB / 460.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.3812, allocations: 0 / 460.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02359/0.4048, allocations: 5.397 MB / 466.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.4049, allocations: 63.41 kB / 466.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4049, allocations: 4 kB / 466.2 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03462/0.4395, allocations: 6.837 MB / 473 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/0.4403, allocations: 155.7 kB / 473.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.4478, allocations: 3.168 MB / 476.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.4496, allocations: 183.8 kB / 476.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4498, allocations: 47.98 kB / 476.6 MB, free: 8.203 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.0006615/0.4504, allocations: 233.6 kB / 476.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.4507, allocations: 83.73 kB / 476.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03087/0.4816, allocations: 5.064 MB / 481.9 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/0.4816, allocations: 15.98 kB / 482 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4816, allocations: 0 / 482 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.4816, allocations: 3.984 kB / 482 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.4836, allocations: 0.761 MB / 482.7 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4837, allocations: 4 kB / 482.7 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.4845, allocations: 99.81 kB / 482.8 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03661/0.5211, allocations: 6.789 MB / 489.6 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.5213, allocations: 23.97 kB / 489.6 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006192/0.5275, allocations: 3.052 MB / 492.7 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5275, allocations: 0 / 492.7 MB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/0.5526, allocations: 5.948 MB / 498.6 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000313/0.5529, allocations: 71.47 kB / 498.7 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.5531, allocations: 19.94 kB / 498.7 MB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5545, allocations: 175.8 kB / 498.9 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.5548, allocations: 96.83 kB / 499 MB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.5549, allocations: 32.23 kB / 499 MB, free: 1.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004496/0.5553, allocations: 346.8 kB / 499.4 MB, free: 1.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5553, allocations: 0 / 499.4 MB, free: 1.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008159/0.5562, allocations: 267.9 kB / 499.6 MB, free: 0.9805 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.0002867/0.5564, allocations: 135.2 kB / 499.8 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007036/0.5635, allocations: 2.156 MB / 0.4901 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5635, allocations: 4 kB / 0.4902 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/0.5671, allocations: 1.012 MB / 0.4911 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.5679, allocations: 134.1 kB / 0.4913 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.572, allocations: 1.787 MB / 0.493 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.5723, allocations: 353.7 kB / 0.4934 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.5726, allocations: 62.2 kB / 0.4934 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5727, allocations: 35.44 kB / 0.4934 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5727, allocations: 4 kB / 0.4934 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.0333/0.606, allocations: 19.93 MB / 0.5129 GB, free: 7.418 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.003262301906943]