Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002107/0.002107, allocations: 81.55 kB / 21.25 MB, free: 0.5469 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.002466/0.002466, allocations: 162.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 66.02 kB / 325.5 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1186, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.008208/0.1268, allocations: 4.438 MB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1297, allocations: 1.248 MB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003235/0.13, allocations: 15.94 kB / 384.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1303, allocations: 122.7 kB / 384.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004749/0.1308, allocations: 261.7 kB / 385 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.1315, allocations: 319.5 kB / 385.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1327, allocations: 1.095 MB / 386.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.133, allocations: 175 kB / 386.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.1336, allocations: 434.5 kB / 387 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.1341, allocations: 422 kB / 387.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1343, allocations: 92 kB / 387.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1345, allocations: 116 kB / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1346, allocations: 203.3 kB / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.135, allocations: 374.3 kB / 388.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1361, allocations: 1.043 MB / 389.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1361, allocations: 7.938 kB / 389.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1361, allocations: 0 / 389.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1361, allocations: 0 / 389.2 MB, free: 5.078 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.002486/0.1386, allocations: 1.206 MB / 390.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1387, allocations: 11.98 kB / 390.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1388, allocations: 100.3 kB / 390.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1395, allocations: 438 kB / 391 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.1396, allocations: 49.69 kB / 391 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1397, allocations: 64.33 kB / 391.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1411, allocations: 0.7803 MB / 391.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1411, allocations: 4 kB / 391.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.1412, allocations: 28 kB / 391.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.1412, allocations: 12 kB / 391.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.1429, allocations: 0.6922 MB / 392.6 MB, free: 1.598 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.003545/0.1465, allocations: 1.809 MB / 394.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.1479, allocations: 0.566 MB / 395 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.1487, allocations: 310.2 kB / 395.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.1487, allocations: 8.5 kB / 395.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/0.1497, allocations: 0.5419 MB / 395.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 2.044e-06/0.1497, allocations: 0 / 395.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.06996/0.2197, allocations: 15.24 MB / 411.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.2198, allocations: 141.5 kB / 411.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.2206, allocations: 0.5223 MB / 411.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.2208, allocations: 45.7 kB / 411.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2211, allocations: 396.7 kB / 412.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.2214, allocations: 333.2 kB / 412.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003612/0.2218, allocations: 186.5 kB / 412.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.222, allocations: 386.8 kB / 413.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.2242, allocations: 0.7746 MB / 413.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.2265, allocations: 1.088 MB / 414.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.2308, allocations: 1.697 MB / 416.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.2308, allocations: 7.938 kB / 416.6 MB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02362/0.2544, allocations: 5.397 MB / 422 MB, free: 3.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.2545, allocations: 67.39 kB / 422.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.2545, allocations: 8 kB / 422.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03421/0.2887, allocations: 6.844 MB / 428.9 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.2894, allocations: 147.8 kB / 429.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007223/0.2967, allocations: 3.165 MB / 432.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.2983, allocations: 179.8 kB / 432.4 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.2984, allocations: 47.97 kB / 432.5 MB, free: 9.109 MB / 398.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.0004274/0.2989, allocations: 237.6 kB / 432.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.299, allocations: 83.48 kB / 432.8 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/0.3212, allocations: 5.068 MB / 437.9 MB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.3212, allocations: 16 kB / 437.9 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3212, allocations: 0 / 437.9 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.3213, allocations: 7.969 kB / 437.9 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3226, allocations: 0.7618 MB / 438.6 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3226, allocations: 3.938 kB / 438.6 MB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.3232, allocations: 91.88 kB / 438.7 MB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03295/0.3561, allocations: 6.785 MB / 445.5 MB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.3563, allocations: 27.97 kB / 445.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/0.3624, allocations: 3.045 MB / 448.6 MB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3624, allocations: 0.5 kB / 448.6 MB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/0.3869, allocations: 5.956 MB / 454.5 MB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.3871, allocations: 71.5 kB / 454.6 MB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.3872, allocations: 19.94 kB / 454.6 MB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.3886, allocations: 179.8 kB / 454.8 MB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.3889, allocations: 100.8 kB / 454.9 MB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.389, allocations: 27.97 kB / 454.9 MB, free: 2.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004301/0.3894, allocations: 350.9 kB / 455.3 MB, free: 2.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 4 kB / 455.3 MB, free: 2.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000747/0.3902, allocations: 260 kB / 455.5 MB, free: 1.883 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.000259/0.3904, allocations: 131.1 kB / 455.7 MB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007066/0.3975, allocations: 2.16 MB / 457.8 MB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3975, allocations: 0 / 457.8 MB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.401, allocations: 1.011 MB / 458.8 MB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007201/0.4017, allocations: 126.2 kB / 459 MB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.4057, allocations: 1.786 MB / 460.7 MB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.4061, allocations: 361.6 kB / 461.1 MB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.4064, allocations: 58.22 kB / 461.2 MB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.4065, allocations: 40.48 kB / 461.2 MB, free: 12.11 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4065, allocations: 0 / 461.2 MB, free: 12.11 MB / 430.1 MB Notification: Performance of Templates: time 0.2121/0.6186, allocations: 18.97 MB / 480.2 MB, free: 90.03 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.956523017957807]