Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001771/0.001771, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002316/0.002316, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.494/1.494, allocations: 230.2 MB / 254.5 MB, free: 15.38 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1083, allocations: 53.31 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006573/0.1148, allocations: 4.981 MB / 431.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1175, allocations: 1.291 MB / 433 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.1179, allocations: 11.94 kB / 433 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.1182, allocations: 126.7 kB / 433.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.1187, allocations: 257.7 kB / 433.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007079/0.1194, allocations: 311.4 kB / 433.6 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.1206, allocations: 1.099 MB / 434.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.1209, allocations: 190.5 kB / 434.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.1214, allocations: 422.5 kB / 435.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.122, allocations: 478 kB / 435.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1221, allocations: 92 kB / 435.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1223, allocations: 116 kB / 436 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.1225, allocations: 199.3 kB / 436.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.123, allocations: 449.8 kB / 436.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1241, allocations: 1.035 MB / 437.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1241, allocations: 0 / 437.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1241, allocations: 0 / 437.7 MB, free: 9.934 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.1241, allocations: 8 kB / 437.7 MB, free: 9.926 MB / 366.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.002685/0.1268, allocations: 1.281 MB / 439 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1269, allocations: 11.97 kB / 439 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.127, allocations: 106.7 kB / 439.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.1272, allocations: 100.3 kB / 439.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.128, allocations: 492 kB / 439.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.128, allocations: 57.62 kB / 439.7 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.1281, allocations: 68.33 kB / 439.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1295, allocations: 0.6507 MB / 440.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.1296, allocations: 7.938 kB / 440.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.1296, allocations: 27.98 kB / 440.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.1297, allocations: 16 kB / 440.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.1313, allocations: 0.6922 MB / 441.2 MB, free: 6.312 MB / 366.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.00412/0.1355, allocations: 2.379 MB / 443.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1369, allocations: 0.5593 MB / 444.1 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.1376, allocations: 306 kB / 444.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1377, allocations: 12.42 kB / 444.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.1386, allocations: 429.4 kB / 444.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 2.224e-06/0.1386, allocations: 4 kB / 444.9 MB, free: 2.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.2666/0.4052, allocations: 15.37 MB / 460.2 MB, free: 23.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.4053, allocations: 144.5 kB / 460.4 MB, free: 22.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.406, allocations: 0.5194 MB / 460.9 MB, free: 22.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.4061, allocations: 43.3 kB / 460.9 MB, free: 22.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.4064, allocations: 400.3 kB / 461.3 MB, free: 22.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.4066, allocations: 328.8 kB / 461.6 MB, free: 22.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.4069, allocations: 181.9 kB / 461.8 MB, free: 21.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.407, allocations: 397.1 kB / 462.2 MB, free: 21.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.409, allocations: 0.7234 MB / 462.9 MB, free: 21.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.4111, allocations: 0.9517 MB / 463.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.415, allocations: 1.693 MB / 465.6 MB, free: 19.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.415, allocations: 1.5 kB / 465.6 MB, free: 19.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02173/0.4368, allocations: 5.333 MB / 470.9 MB, free: 16.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.4368, allocations: 63.56 kB / 471 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4369, allocations: 10.23 kB / 471 MB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0315/0.4684, allocations: 6.833 MB / 477.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.469, allocations: 147.7 kB / 478 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.474, allocations: 3.006 MB / 481 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.4756, allocations: 184.3 kB / 481.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/0.4757, allocations: 47.97 kB / 481.2 MB, free: 10.07 MB / 366.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.0004028/0.4761, allocations: 228.7 kB / 481.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.4762, allocations: 83.48 kB / 481.5 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01956/0.4958, allocations: 5.068 MB / 486.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.4958, allocations: 12 kB / 486.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.4958, allocations: 1.062 kB / 486.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/0.4959, allocations: 7.969 kB / 486.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.4973, allocations: 1.11 MB / 487.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4973, allocations: 0 / 487.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.4978, allocations: 95.89 kB / 487.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03176/0.5295, allocations: 6.786 MB / 494.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/0.5298, allocations: 27.98 kB / 494.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006259/0.5361, allocations: 3.032 MB / 497.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5361, allocations: 1.781 kB / 497.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02404/0.5601, allocations: 5.941 MB / 0.4918 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.5604, allocations: 152.6 kB / 0.4919 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5606, allocations: 16 kB / 0.4919 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5618, allocations: 175.8 kB / 0.4921 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.5621, allocations: 92.88 kB / 0.4922 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.5622, allocations: 27.98 kB / 0.4922 GB, free: 3.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004558/0.5626, allocations: 362.3 kB / 0.4926 GB, free: 2.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5626, allocations: 0 / 0.4926 GB, free: 2.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008047/0.5634, allocations: 260 kB / 0.4928 GB, free: 2.496 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.02522/0.5887, allocations: 6.526 MB / 0.4992 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00608/0.5947, allocations: 1.971 MB / 0.5011 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5947, allocations: 0 / 0.5011 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003487/0.5982, allocations: 1.009 MB / 0.5021 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.599, allocations: 144 kB / 0.5022 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05423/0.6533, allocations: 15.89 MB / 0.5178 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000645/0.6539, allocations: 0.9468 MB / 0.5187 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.6543, allocations: 57.88 kB / 0.5187 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.6547, allocations: 275.3 kB / 0.519 GB, free: 7.332 MB / 414.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6547, allocations: 3.938 kB / 0.519 GB, free: 7.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06949/0.7242, allocations: 29.96 MB / 0.5483 GB, free: 9.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.19, allocations: 11.25 kB / 0.5483 GB, free: 9.617 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 17.071340274065733]