Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 86.06 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 158.6 MB / 187 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5037,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.258, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005957/0.264, allocations: 4.173 MB / 352.7 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.2664, allocations: 1.249 MB / 353.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.2666, allocations: 15.94 kB / 354 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2669, allocations: 110.8 kB / 354.1 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.2674, allocations: 249.8 kB / 354.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.268, allocations: 307.5 kB / 354.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.2693, allocations: 1.044 MB / 355.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2697, allocations: 182.7 kB / 355.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.2702, allocations: 418.6 kB / 356.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005752/0.2708, allocations: 414 kB / 356.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2709, allocations: 91.94 kB / 356.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2711, allocations: 112 kB / 356.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2713, allocations: 195.3 kB / 357 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.2717, allocations: 370.3 kB / 357.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2728, allocations: 1.01 MB / 358.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2728, allocations: 4 kB / 358.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2728, allocations: 0 / 358.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.2728, allocations: 0 / 358.4 MB, free: 5.562 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00265/0.2755, allocations: 1.166 MB / 359.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.2755, allocations: 11.98 kB / 359.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2757, allocations: 88.42 kB / 359.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.2764, allocations: 404 kB / 360.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.2765, allocations: 45.69 kB / 360.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.2766, allocations: 64.38 kB / 360.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2781, allocations: 0.7647 MB / 360.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.2781, allocations: 0 / 360.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.2782, allocations: 28 kB / 361 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2782, allocations: 12 kB / 361 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.28, allocations: 0.6726 MB / 361.7 MB, free: 2.211 MB / 318.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.003746/0.2837, allocations: 1.755 MB / 363.4 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2853, allocations: 0.5556 MB / 364 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.2861, allocations: 306.2 kB / 364.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.2861, allocations: 12.5 kB / 364.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.2872, allocations: 0.5419 MB / 364.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.074e-06/0.2872, allocations: 0 / 364.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07339/0.3606, allocations: 15.24 MB / 380.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.3607, allocations: 145.5 kB / 380.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/0.3615, allocations: 498.7 kB / 380.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.3616, allocations: 45.69 kB / 380.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.362, allocations: 372.8 kB / 381.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.3623, allocations: 329.2 kB / 381.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.3627, allocations: 178.6 kB / 381.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.363, allocations: 382.8 kB / 382 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.3653, allocations: 0.7704 MB / 382.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.3678, allocations: 1.064 MB / 383.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/0.3725, allocations: 1.666 MB / 385.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3725, allocations: 8 kB / 385.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02497/0.3975, allocations: 5.362 MB / 390.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3976, allocations: 63.41 kB / 390.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.3976, allocations: 8 kB / 390.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03598/0.4336, allocations: 6.828 MB / 397.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.4344, allocations: 139.8 kB / 397.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.4409, allocations: 3.028 MB / 400.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.4427, allocations: 171.9 kB / 401.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.4428, allocations: 47.97 kB / 401.1 MB, free: 10.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0004586/0.4433, allocations: 209.8 kB / 401.3 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4434, allocations: 87.45 kB / 401.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/0.4666, allocations: 5.064 MB / 406.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.4666, allocations: 12 kB / 406.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4666, allocations: 0 / 406.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.4667, allocations: 3.984 kB / 406.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.4681, allocations: 0.7577 MB / 407.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4681, allocations: 4 kB / 407.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4686, allocations: 91.88 kB / 407.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0346/0.5032, allocations: 6.777 MB / 414.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.5034, allocations: 31.91 kB / 414.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/0.5098, allocations: 3.029 MB / 417.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5098, allocations: 3.938 kB / 417.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02536/0.5351, allocations: 5.944 MB / 423.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.5353, allocations: 67.55 kB / 423.2 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.5355, allocations: 16 kB / 423.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.5369, allocations: 163.9 kB / 423.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/0.5372, allocations: 104.8 kB / 423.5 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-05/0.5372, allocations: 35.92 kB / 423.5 MB, free: 3.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004448/0.5377, allocations: 330.9 kB / 423.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5377, allocations: 0 / 423.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008367/0.5385, allocations: 252 kB / 424.1 MB, free: 3.035 MB / 382.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.0003043/0.5388, allocations: 143.1 kB / 424.2 MB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006401/0.5452, allocations: 2.009 MB / 426.2 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5452, allocations: 4 kB / 426.2 MB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003611/0.5488, allocations: 1.011 MB / 427.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.5495, allocations: 134 kB / 427.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.5534, allocations: 1.756 MB / 429.1 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.5538, allocations: 348.9 kB / 429.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.5541, allocations: 57.97 kB / 429.5 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5542, allocations: 32.5 kB / 429.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5542, allocations: 4 kB / 429.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.0313/0.5855, allocations: 18.91 MB / 448.5 MB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.827109477948397]