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.001919/0.001919, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002212/0.002212, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.47/1.47, allocations: 225.7 MB / 253.3 MB, free: 12.8 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.001621/0.001621, allocations: 51.91 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2305, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006406/0.2369, allocations: 4.423 MB / 428.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.2396, allocations: 1.237 MB / 429.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.2399, allocations: 15.94 kB / 429.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2403, allocations: 118.7 kB / 429.6 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.2408, allocations: 265.6 kB / 429.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.2416, allocations: 315.5 kB / 430.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2429, allocations: 1.095 MB / 431.3 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.2432, allocations: 178 kB / 431.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.2438, allocations: 430.6 kB / 431.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.2444, allocations: 422 kB / 432.3 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.2445, allocations: 92 kB / 432.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.2447, allocations: 108 kB / 432.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.2449, allocations: 207.3 kB / 432.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.2454, allocations: 382.3 kB / 433.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.2466, allocations: 1.046 MB / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2466, allocations: 0 / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2466, allocations: 0 / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.2466, allocations: 0 / 434.1 MB, free: 4.141 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.002614/0.2492, allocations: 1.202 MB / 435.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2492, allocations: 8.031 kB / 435.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.2494, allocations: 96.38 kB / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.2502, allocations: 434 kB / 435.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.2503, allocations: 49.69 kB / 435.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2504, allocations: 64.31 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2519, allocations: 0.7842 MB / 436.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.2519, allocations: 3.938 kB / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.252, allocations: 24 kB / 436.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.252, allocations: 20 kB / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.2538, allocations: 0.6921 MB / 437.5 MB, free: 0.6641 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.004012/0.2578, allocations: 1.804 MB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.2593, allocations: 0.5624 MB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.2601, allocations: 317.9 kB / 440.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.2602, allocations: 8.438 kB / 440.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.2612, allocations: 0.5332 MB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.204e-06/0.2612, allocations: 4 kB / 440.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07035/0.3316, allocations: 15.25 MB / 455.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.3317, allocations: 149.4 kB / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.3324, allocations: 0.5146 MB / 456.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.3326, allocations: 45.7 kB / 456.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.333, allocations: 400.6 kB / 457 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.3334, allocations: 325.2 kB / 457.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/0.3339, allocations: 186.6 kB / 457.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.3341, allocations: 382.8 kB / 457.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.3363, allocations: 0.7824 MB / 458.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.3388, allocations: 1.084 MB / 459.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.3434, allocations: 1.693 MB / 461.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.3434, allocations: 7.938 kB / 461.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02431/0.3677, allocations: 5.397 MB / 466.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.3678, allocations: 71.39 kB / 466.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3678, allocations: 4 kB / 466.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03522/0.403, allocations: 6.837 MB / 473.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/0.4038, allocations: 147.7 kB / 473.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/0.4114, allocations: 3.172 MB / 477.1 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.4132, allocations: 179.7 kB / 477.3 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.4133, allocations: 47.97 kB / 477.3 MB, free: 8.184 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.0005041/0.4138, allocations: 225.6 kB / 477.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.4141, allocations: 87.42 kB / 477.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/0.4372, allocations: 5.064 MB / 482.7 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.4372, allocations: 12 kB / 482.7 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4372, allocations: 0 / 482.7 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.4372, allocations: 7.984 kB / 482.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.4387, allocations: 0.761 MB / 483.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4387, allocations: 4 kB / 483.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.4393, allocations: 91.83 kB / 483.6 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03405/0.4733, allocations: 6.797 MB / 490.4 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/0.4735, allocations: 27.92 kB / 490.4 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006445/0.48, allocations: 3.056 MB / 493.4 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.48, allocations: 0 / 493.4 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02538/0.5054, allocations: 5.949 MB / 499.4 MB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.5056, allocations: 75.53 kB / 499.5 MB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/0.5059, allocations: 23.94 kB / 499.5 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.5075, allocations: 167.8 kB / 499.7 MB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.5078, allocations: 96.83 kB / 499.8 MB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.508, allocations: 35.97 kB / 499.8 MB, free: 1.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005166/0.5085, allocations: 346.9 kB / 0.4884 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5085, allocations: 0 / 0.4884 GB, free: 1.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009262/0.5094, allocations: 263.9 kB / 0.4887 GB, free: 0.9609 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.0003141/0.5097, allocations: 131.2 kB / 0.4888 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007372/0.5171, allocations: 2.161 MB / 0.4909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5171, allocations: 448 / 0.4909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003717/0.5208, allocations: 1.011 MB / 0.4919 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008612/0.5217, allocations: 126.4 kB / 0.492 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.5261, allocations: 1.824 MB / 0.4938 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.5265, allocations: 357.7 kB / 0.4941 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5267, allocations: 35.44 kB / 0.4942 GB, free: 11.22 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5267, allocations: 0 / 0.4942 GB, free: 11.22 MB / 414.1 MB Notification: Performance of Templates: time 0.02708/0.5538, allocations: 17.77 MB / 0.5115 GB, free: 9.469 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/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: 8.571554229129106]