Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_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.00157/0.00157, allocations: 108.3 kB / 19.17 MB, free: 3.914 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.001796/0.001796, allocations: 205 kB / 22.12 MB, free: 0.9688 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.431/1.431, allocations: 230.4 MB / 255.4 MB, free: 15 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.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_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.002292/0.002292, allocations: 75.88 kB / 374.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.118, allocations: 53.31 MB / 428.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.2176/0.3356, allocations: 4.976 MB / 433.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.3379, allocations: 1.29 MB / 434.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.3383, allocations: 13 kB / 434.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3386, allocations: 128.1 kB / 434.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.339, allocations: 262.4 kB / 434.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.3396, allocations: 314.8 kB / 435.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.3405, allocations: 1.094 MB / 436.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3407, allocations: 183.5 kB / 436.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.3412, allocations: 429.7 kB / 436.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004901/0.3416, allocations: 476.5 kB / 437.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.3418, allocations: 90.88 kB / 437.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.342, allocations: 112.4 kB / 437.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3421, allocations: 202.1 kB / 437.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.3425, allocations: 457.8 kB / 438.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3435, allocations: 1.034 MB / 439.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3435, allocations: 0 / 439.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3435, allocations: 1.125 kB / 439.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.3435, allocations: 3.562 kB / 439.1 MB, free: 6.652 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.002352/0.3459, allocations: 1.283 MB / 440.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3459, allocations: 10.72 kB / 440.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3461, allocations: 98.05 kB / 440.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.3467, allocations: 495.1 kB / 441 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.3467, allocations: 43.78 kB / 441 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3468, allocations: 74.81 kB / 441.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.3481, allocations: 0.6507 MB / 441.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3482, allocations: 3.453 kB / 441.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.3482, allocations: 26.72 kB / 441.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3482, allocations: 16.81 kB / 441.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3498, allocations: 0.6937 MB / 442.5 MB, free: 4.84 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.003655/0.3534, allocations: 2.381 MB / 444.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3547, allocations: 0.553 MB / 445.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.3554, allocations: 307.3 kB / 445.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.3554, allocations: 8.891 kB / 445.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008166/0.3562, allocations: 434 kB / 446.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.745e-06/0.3562, allocations: 0 / 446.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06729/0.4235, allocations: 15.39 MB / 461.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.4236, allocations: 140.7 kB / 461.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.4243, allocations: 0.5238 MB / 462.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.4246, allocations: 46.27 kB / 462.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.4249, allocations: 399.1 kB / 462.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.4252, allocations: 326.1 kB / 462.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.4256, allocations: 185.7 kB / 463.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4258, allocations: 395.8 kB / 463.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.4278, allocations: 0.718 MB / 464.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.43, allocations: 0.9551 MB / 465.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.4341, allocations: 1.697 MB / 466.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4341, allocations: 0 / 466.9 MB, free: 8.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02458/0.4587, allocations: 5.337 MB / 472.2 MB, free: 3.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4588, allocations: 71.95 kB / 472.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.4588, allocations: 4 kB / 472.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03676/0.4956, allocations: 6.845 MB / 479.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.4963, allocations: 147.7 kB / 479.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007301/0.5036, allocations: 3.157 MB / 482.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.5054, allocations: 183.8 kB / 482.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.5056, allocations: 48.47 kB / 482.7 MB, free: 9.039 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.0005034/0.5061, allocations: 231.3 kB / 482.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.5062, allocations: 87.42 kB / 483 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02313/0.5294, allocations: 5.068 MB / 488 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.5294, allocations: 12 kB / 488.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.5294, allocations: 0 / 488.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/0.5294, allocations: 8.734 kB / 488.1 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.5315, allocations: 1.109 MB / 489.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5315, allocations: 0 / 489.2 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.5321, allocations: 83.89 kB / 489.3 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03491/0.567, allocations: 6.801 MB / 496.1 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.5672, allocations: 28.91 kB / 496.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/0.5734, allocations: 3.048 MB / 499.1 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5734, allocations: 0 / 499.1 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02555/0.5989, allocations: 5.944 MB / 0.4932 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.5992, allocations: 156.5 kB / 0.4934 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.5995, allocations: 25.94 kB / 0.4934 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.601, allocations: 163.8 kB / 0.4936 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/0.6012, allocations: 96.86 kB / 0.4937 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/0.6013, allocations: 31.98 kB / 0.4937 GB, free: 2.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004642/0.6018, allocations: 354.8 kB / 0.494 GB, free: 1.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6018, allocations: 0 / 0.494 GB, free: 1.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.6027, allocations: 263.9 kB / 0.4943 GB, free: 1.402 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.0002808/0.6029, allocations: 128.6 kB / 0.4944 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006946/0.6099, allocations: 2.095 MB / 0.4964 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6099, allocations: 320 / 0.4964 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003488/0.6134, allocations: 1.023 MB / 0.4974 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.6143, allocations: 141.1 kB / 0.4976 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.6185, allocations: 1.826 MB / 0.4994 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006264/0.6192, allocations: 0.9545 MB / 0.5003 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6193, allocations: 31.44 kB / 0.5003 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6193, allocations: 4 kB / 0.5003 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.02471/0.644, allocations: 17.49 MB / 0.5174 GB, free: 9.703 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.372471585986204]