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.001409/0.001409, allocations: 81.58 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.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.001537/0.001537, allocations: 151.1 kB / 23.94 MB, free: 4.164 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.428/1.428, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.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 1.242e-06/1.242e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.088e-05, allocations: 3.531 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004637/0.004658, allocations: 4.398 MB / 323.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.006789, allocations: 1.24 MB / 324.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.007132, allocations: 17.72 kB / 324.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.00745, allocations: 118.7 kB / 324.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.007994, allocations: 283.2 kB / 325 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007619/0.008756, allocations: 320 kB / 325.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.01021, allocations: 1.129 MB / 326.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.01061, allocations: 180 kB / 326.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.01166, allocations: 0.6081 MB / 327.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.01232, allocations: 362.3 kB / 327.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.01253, allocations: 89.69 kB / 327.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.01291, allocations: 114.6 kB / 327.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.01323, allocations: 203.4 kB / 328 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005562/0.01378, allocations: 319.2 kB / 328.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.0155, allocations: 1.087 MB / 329.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.01551, allocations: 7.938 kB / 329.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01551, allocations: 1.062 kB / 329.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.01553, allocations: 0 / 329.4 MB, free: 13.43 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.003105/0.01864, allocations: 1.2 MB / 330.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.01869, allocations: 10.86 kB / 330.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.01892, allocations: 94.53 kB / 330.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/0.01977, allocations: 434.8 kB / 331.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.01983, allocations: 47.5 kB / 331.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.01994, allocations: 67.12 kB / 331.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.02154, allocations: 0.7742 MB / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.02156, allocations: 192 / 332 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.02164, allocations: 27.12 kB / 332 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.02166, allocations: 18.59 kB / 332 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.02349, allocations: 0.6885 MB / 332.7 MB, free: 11.3 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.004105/0.0276, allocations: 1.832 MB / 334.6 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.02917, allocations: 0.5524 MB / 335.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.02997, allocations: 307.5 kB / 335.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/0.03003, allocations: 10.56 kB / 335.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.03112, allocations: 0.5453 MB / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.314e-06/0.03112, allocations: 0 / 336 MB, free: 9.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=94): time 0.07652/0.1076, allocations: 15.25 MB / 351.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.1078, allocations: 141.5 kB / 351.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.1086, allocations: 0.5185 MB / 351.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.1088, allocations: 49.7 kB / 351.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.1092, allocations: 396.7 kB / 352.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.1096, allocations: 329.2 kB / 352.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.11, allocations: 174.6 kB / 352.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.1102, allocations: 386.8 kB / 353.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.1126, allocations: 0.7824 MB / 354 MB, free: 8.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.1151, allocations: 1.084 MB / 355 MB, free: 7.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/0.1199, allocations: 1.697 MB / 356.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.1199, allocations: 4 kB / 356.7 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02516/0.1451, allocations: 5.405 MB / 362.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/0.1451, allocations: 69.89 kB / 362.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.1452, allocations: 8 kB / 362.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03736/0.1825, allocations: 6.833 MB / 369.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.1833, allocations: 155.7 kB / 369.2 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007828/0.1912, allocations: 3.165 MB / 372.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.1931, allocations: 179.8 kB / 372.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.1933, allocations: 51.97 kB / 372.6 MB, free: 5.27 MB / 334.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.0005391/0.1938, allocations: 221.7 kB / 372.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.194, allocations: 87.42 kB / 372.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/0.2184, allocations: 5.072 MB / 378 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.2184, allocations: 8 kB / 378 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2184, allocations: 256 / 378 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.2184, allocations: 7.984 kB / 378 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.2202, allocations: 0.7696 MB / 378.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2202, allocations: 0 / 378.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.2208, allocations: 91.83 kB / 378.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03714/0.2579, allocations: 6.797 MB / 385.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.2582, allocations: 23.98 kB / 385.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.2647, allocations: 3.041 MB / 388.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.2647, allocations: 3.938 kB / 388.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02718/0.2919, allocations: 5.945 MB / 394.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.2922, allocations: 75.44 kB / 394.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.2925, allocations: 20.06 kB / 394.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.2941, allocations: 171.8 kB / 394.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.2944, allocations: 104.8 kB / 395 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.2945, allocations: 35.97 kB / 395.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000505/0.295, allocations: 346.9 kB / 395.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.295, allocations: 0 / 395.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.296, allocations: 263.9 kB / 395.7 MB, free: 14.05 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.0004091/0.2964, allocations: 123.2 kB / 395.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007681/0.3041, allocations: 2.16 MB / 397.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3041, allocations: 1.375 kB / 397.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00392/0.308, allocations: 1.022 MB / 399 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.309, allocations: 137.5 kB / 399.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.3136, allocations: 1.727 MB / 400.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.314, allocations: 353.7 kB / 401.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.3143, allocations: 58.22 kB / 401.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3144, allocations: 40.5 kB / 401.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3144, allocations: 0 / 401.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of Templates: time 0.03444/0.3489, allocations: 18.81 MB / 420.1 MB, free: 5.645 MB / 382.1 MB " [Timeout remaining time 660] 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: 5.584764868021011]