Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001541/0.001541, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.612/1.612, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.84 kB / 378.8 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007225/0.3358, allocations: 4.994 MB / 437.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.339, allocations: 1.287 MB / 438.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005182/0.3396, allocations: 12 kB / 438.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.3399, allocations: 126.6 kB / 438.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006211/0.3405, allocations: 261.7 kB / 438.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.3414, allocations: 319.4 kB / 439 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3428, allocations: 1.095 MB / 440.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.3432, allocations: 190.5 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.3438, allocations: 422.5 kB / 440.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.3445, allocations: 474 kB / 441.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.3447, allocations: 92 kB / 441.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.3449, allocations: 112 kB / 441.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.3451, allocations: 199.3 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.3456, allocations: 457.8 kB / 442 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3469, allocations: 1.036 MB / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3469, allocations: 0 / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3469, allocations: 0 / 443.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.3469, allocations: 0 / 443.1 MB, free: 12.29 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.002979/0.3499, allocations: 1.289 MB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.3499, allocations: 8.031 kB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.3502, allocations: 100.3 kB / 444.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.3514, allocations: 499.9 kB / 445 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.3515, allocations: 45.69 kB / 445 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3516, allocations: 68.33 kB / 445.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.3536, allocations: 0.6548 MB / 445.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.3536, allocations: 7.984 kB / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.3537, allocations: 31.98 kB / 445.8 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.3537, allocations: 12 kB / 445.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3557, allocations: 0.6922 MB / 446.5 MB, free: 8.777 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.00485/0.3606, allocations: 2.367 MB / 448.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3621, allocations: 0.5519 MB / 449.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.3629, allocations: 314 kB / 449.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.363, allocations: 12.41 kB / 449.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.364, allocations: 425.4 kB / 450.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 3.256e-06/0.364, allocations: 0 / 450.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07392/0.4379, allocations: 15.39 MB / 465.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.4381, allocations: 149.5 kB / 465.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.439, allocations: 0.5263 MB / 466.2 MB, free: 4.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.4393, allocations: 41.7 kB / 466.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.4397, allocations: 392.7 kB / 466.6 MB, free: 4.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.4402, allocations: 329.2 kB / 466.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005052/0.4407, allocations: 186.6 kB / 467.1 MB, free: 3.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.4409, allocations: 386.7 kB / 467.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.4432, allocations: 0.7244 MB / 468.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.4456, allocations: 0.9667 MB / 469.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/0.4501, allocations: 1.689 MB / 470.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4501, allocations: 7.938 kB / 470.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02379/0.4739, allocations: 5.327 MB / 476.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.474, allocations: 63.41 kB / 476.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.474, allocations: 8 kB / 476.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03494/0.5089, allocations: 6.828 MB / 483.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.5097, allocations: 151.7 kB / 483.3 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.5163, allocations: 3.021 MB / 486.3 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5181, allocations: 176 kB / 486.4 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.5182, allocations: 47.97 kB / 486.5 MB, free: 104 kB / 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.0005531/0.5188, allocations: 236.7 kB / 486.7 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/0.519, allocations: 87.48 kB / 486.8 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02268/0.5417, allocations: 5.06 MB / 491.9 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.5417, allocations: 8 kB / 491.9 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.5417, allocations: 4 kB / 491.9 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.5418, allocations: 7.984 kB / 491.9 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.5437, allocations: 1.104 MB / 493 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5438, allocations: 0 / 493 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.5444, allocations: 95.81 kB / 493.1 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03502/0.5794, allocations: 6.777 MB / 499.9 MB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/0.5796, allocations: 31.97 kB / 499.9 MB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.5867, allocations: 3.025 MB / 0.4911 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5867, allocations: 4 kB / 0.4911 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02575/0.6125, allocations: 5.94 MB / 0.4969 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.6127, allocations: 156.5 kB / 0.4971 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.613, allocations: 16 kB / 0.4971 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.6145, allocations: 176.1 kB / 0.4973 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.6148, allocations: 92.88 kB / 0.4974 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/0.6151, allocations: 35.97 kB / 0.4974 GB, free: 9.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005014/0.6156, allocations: 354.8 kB / 0.4977 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6156, allocations: 4 kB / 0.4977 GB, free: 8.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008637/0.6164, allocations: 263.9 kB / 0.498 GB, free: 8.457 MB / 414.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.0002989/0.6167, allocations: 134.9 kB / 0.4981 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.6231, allocations: 1.973 MB / 0.5 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6231, allocations: 0 / 0.5 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003538/0.6267, allocations: 1.012 MB / 0.501 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.6275, allocations: 133 kB / 0.5012 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.6319, allocations: 1.827 MB / 0.5029 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.6326, allocations: 0.9506 MB / 0.5039 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.6329, allocations: 58.27 kB / 0.5039 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.633, allocations: 39.42 kB / 0.504 GB, free: 2.254 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.633, allocations: 0 / 0.504 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Templates: time 0.04057/0.6736, allocations: 23.83 MB / 0.5272 GB, free: 10.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingPNP_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.197823609691113]