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.001357/0.001358, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001424/0.001424, allocations: 196.3 kB / 21.35 MB, free: 1.711 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.461/1.461, allocations: 222.9 MB / 247 MB, free: 4.207 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 0.001596/0.001596, allocations: 51.92 kB / 358.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09656, allocations: 49.43 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006157/0.1028, allocations: 4.954 MB / 413.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1053, allocations: 1.264 MB / 414.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003572/0.1057, allocations: 11.94 kB / 414.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.1061, allocations: 122.7 kB / 414.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.1067, allocations: 261.6 kB / 414.7 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.1074, allocations: 303.5 kB / 415 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1088, allocations: 1.107 MB / 416.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004326/0.1092, allocations: 258.5 kB / 416.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.1098, allocations: 422.5 kB / 416.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.1105, allocations: 462 kB / 417.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1106, allocations: 87.98 kB / 417.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.1109, allocations: 116 kB / 417.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.1111, allocations: 195.3 kB / 417.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.1115, allocations: 445.8 kB / 418.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1127, allocations: 1.011 MB / 419.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1127, allocations: 0 / 419.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1127, allocations: 0 / 419.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1128, allocations: 0 / 419.1 MB, free: 11.79 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.002696/0.1155, allocations: 1.281 MB / 420.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1155, allocations: 16.02 kB / 420.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1157, allocations: 96.38 kB / 420.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.1165, allocations: 487.9 kB / 421 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.1166, allocations: 45.69 kB / 421 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.1167, allocations: 64.38 kB / 421.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.1182, allocations: 0.6626 MB / 421.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1183, allocations: 0 / 421.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.1184, allocations: 24 kB / 421.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1184, allocations: 16 kB / 421.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.1202, allocations: 0.696 MB / 422.5 MB, free: 8.301 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.004297/0.1245, allocations: 2.387 MB / 424.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.1261, allocations: 0.5904 MB / 425.4 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008228/0.127, allocations: 334.6 kB / 425.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.1271, allocations: 12.36 kB / 425.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.1281, allocations: 425.5 kB / 426.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.204e-06/0.1281, allocations: 3.938 kB / 426.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.2657/0.3938, allocations: 15.43 MB / 441.6 MB, free: 22.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3939, allocations: 147.5 kB / 441.8 MB, free: 22.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005987/0.3946, allocations: 0.5171 MB / 442.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.3947, allocations: 48.17 kB / 442.3 MB, free: 21.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3949, allocations: 391.7 kB / 442.7 MB, free: 21.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.3951, allocations: 329.4 kB / 443 MB, free: 21.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.3955, allocations: 182.5 kB / 443.2 MB, free: 21.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/0.3956, allocations: 390.9 kB / 443.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.3976, allocations: 0.7193 MB / 444.3 MB, free: 20.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.3997, allocations: 0.9583 MB / 445.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.4038, allocations: 1.696 MB / 447 MB, free: 19.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.4039, allocations: 1.062 kB / 447 MB, free: 19.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02303/0.4269, allocations: 5.38 MB / 452.3 MB, free: 18.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/0.427, allocations: 63.38 kB / 452.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.427, allocations: 7.219 kB / 452.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03339/0.4604, allocations: 6.849 MB / 459.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.4612, allocations: 147.7 kB / 459.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/0.4674, allocations: 3.156 MB / 462.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4691, allocations: 183.8 kB / 462.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.4693, allocations: 47.97 kB / 462.8 MB, free: 9.863 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.0004637/0.4698, allocations: 226.6 kB / 463 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.47, allocations: 87.47 kB / 463.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02139/0.4914, allocations: 5.111 MB / 468.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.4915, allocations: 8 kB / 468.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4915, allocations: 0 / 468.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.4915, allocations: 11.97 kB / 468.2 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.4929, allocations: 1.102 MB / 469.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.493, allocations: 3.938 kB / 469.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.4935, allocations: 91.89 kB / 469.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03389/0.5274, allocations: 6.801 MB / 476.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.5277, allocations: 27.97 kB / 476.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006323/0.534, allocations: 3.04 MB / 479.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5341, allocations: 3.984 kB / 479.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0257/0.5598, allocations: 5.997 MB / 485.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.5601, allocations: 148.6 kB / 485.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.5603, allocations: 17.69 kB / 485.5 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.5619, allocations: 179.8 kB / 485.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/0.5622, allocations: 95.06 kB / 485.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5623, allocations: 35.97 kB / 485.8 MB, free: 2.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004578/0.5628, allocations: 354.8 kB / 486.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5628, allocations: 0 / 486.1 MB, free: 2.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008354/0.5636, allocations: 256 kB / 486.4 MB, free: 2.172 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.0002777/0.5639, allocations: 133.4 kB / 486.5 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007311/0.5712, allocations: 2.188 MB / 488.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5712, allocations: 3.609 kB / 488.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/0.5751, allocations: 1.094 MB / 489.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.5759, allocations: 133.6 kB / 489.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.5801, allocations: 1.811 MB / 491.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5808, allocations: 0.9555 MB / 492.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.581, allocations: 39.44 kB / 492.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.581, allocations: 0 / 492.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02375/0.6047, allocations: 17.47 MB / 0.4982 GB, free: 10.34 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.731852867058478]