Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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.001728/0.001728, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.002027/0.002027, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.477/1.477, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2793, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006644/0.2859, allocations: 4.973 MB / 425.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.2889, allocations: 1.276 MB / 427.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.2893, allocations: 11.94 kB / 427.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.2896, allocations: 134.7 kB / 427.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.2902, allocations: 253.7 kB / 427.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.291, allocations: 315.4 kB / 427.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.2923, allocations: 1.099 MB / 428.9 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.2926, allocations: 186.5 kB / 429.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.2931, allocations: 426.5 kB / 429.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.2937, allocations: 474 kB / 430 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.2938, allocations: 92 kB / 430.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.294, allocations: 112 kB / 430.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.2942, allocations: 199.3 kB / 430.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.2947, allocations: 457.8 kB / 430.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2959, allocations: 1.032 MB / 431.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2959, allocations: 0 / 431.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2959, allocations: 4 kB / 431.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2959, allocations: 0 / 431.9 MB, free: 4.066 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.002724/0.2987, allocations: 1.289 MB / 433.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2987, allocations: 8.031 kB / 433.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2989, allocations: 96.38 kB / 433.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.2996, allocations: 499.9 kB / 433.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.2996, allocations: 45.69 kB / 433.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2997, allocations: 68.38 kB / 433.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3012, allocations: 0.6509 MB / 434.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3012, allocations: 7.938 kB / 434.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.3013, allocations: 27.98 kB / 434.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.3013, allocations: 16 kB / 434.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.303, allocations: 0.6922 MB / 435.3 MB, free: 0.5703 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.004158/0.3072, allocations: 2.379 MB / 437.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3087, allocations: 0.5592 MB / 438.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.3094, allocations: 306 kB / 438.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.3095, allocations: 16.41 kB / 438.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009462/0.3104, allocations: 417.5 kB / 438.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.854e-06/0.3104, allocations: 0 / 438.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07085/0.3813, allocations: 15.4 MB / 454.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.3814, allocations: 141.5 kB / 454.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.3822, allocations: 0.5147 MB / 455 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.3824, allocations: 53.7 kB / 455 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.3827, allocations: 396.7 kB / 455.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.3831, allocations: 333.1 kB / 455.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.3835, allocations: 186.5 kB / 455.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3837, allocations: 386.7 kB / 456.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/0.3857, allocations: 0.7283 MB / 457 MB, free: 10.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.3879, allocations: 0.9512 MB / 458 MB, free: 9.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.392, allocations: 1.689 MB / 459.7 MB, free: 7.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.392, allocations: 11.94 kB / 459.7 MB, free: 7.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02322/0.4152, allocations: 5.32 MB / 465 MB, free: 2.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.088e-05/0.4153, allocations: 63.53 kB / 465.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4153, allocations: 8 kB / 465.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03486/0.4502, allocations: 6.829 MB / 471.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.451, allocations: 151.7 kB / 472 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/0.4572, allocations: 3.016 MB / 475.1 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.4588, allocations: 179.9 kB / 475.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4589, allocations: 47.97 kB / 475.3 MB, free: 7.891 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.0004192/0.4594, allocations: 230.1 kB / 475.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.4595, allocations: 83.48 kB / 475.6 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02262/0.4821, allocations: 5.057 MB / 480.6 MB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.4822, allocations: 8 kB / 480.7 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.4822, allocations: 0 / 480.7 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.4822, allocations: 7.969 kB / 480.7 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.4841, allocations: 1.112 MB / 481.8 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4841, allocations: 4 kB / 481.8 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.4846, allocations: 91.83 kB / 481.9 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03544/0.52, allocations: 6.789 MB / 488.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.5203, allocations: 19.98 kB / 488.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006145/0.5264, allocations: 3.044 MB / 491.7 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5264, allocations: 0 / 491.7 MB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/0.5514, allocations: 5.937 MB / 497.7 MB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.5518, allocations: 148.6 kB / 497.8 MB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.552, allocations: 20 kB / 497.8 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.5534, allocations: 167.8 kB / 498 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.5537, allocations: 96.88 kB / 498.1 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.5538, allocations: 35.97 kB / 498.1 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004546/0.5542, allocations: 354.8 kB / 498.5 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5542, allocations: 0 / 498.5 MB, free: 0.5078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007567/0.555, allocations: 263.9 kB / 498.7 MB, free: 256 kB / 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.0002802/0.5553, allocations: 135.2 kB / 498.9 MB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006209/0.5615, allocations: 1.966 MB / 0.4891 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5615, allocations: 4.062 kB / 0.4891 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003515/0.565, allocations: 1.015 MB / 0.4901 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.5657, allocations: 134.4 kB / 0.4902 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.5695, allocations: 1.817 MB / 0.492 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.5701, allocations: 0.9507 MB / 0.4929 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.5703, allocations: 58.28 kB / 0.493 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.5704, allocations: 35.38 kB / 0.493 GB, free: 10.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5704, allocations: 0 / 0.493 GB, free: 10.05 MB / 414.1 MB Notification: Performance of Templates: time 0.03797/0.6084, allocations: 23.75 MB / 0.5162 GB, free: 2.383 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.834396034479141]