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.001781/0.001781, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001977/0.001977, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.65/1.65, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 59.91 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1355, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.00686/0.1424, allocations: 4.996 MB / 431.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.1452, allocations: 1.287 MB / 433 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007127/0.1459, allocations: 15.94 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.1464, allocations: 118.7 kB / 433.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.1473, allocations: 269.6 kB / 433.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.1483, allocations: 303.5 kB / 433.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.1499, allocations: 1.103 MB / 434.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.1503, allocations: 186.5 kB / 434.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.1512, allocations: 426.5 kB / 435.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1523, allocations: 474 kB / 435.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.1527, allocations: 88 kB / 435.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.1532, allocations: 120 kB / 436 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.1536, allocations: 203.3 kB / 436.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008987/0.1545, allocations: 449.8 kB / 436.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.1564, allocations: 1.035 MB / 437.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1564, allocations: 0 / 437.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1564, allocations: 0 / 437.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.079e-05/0.1565, allocations: 0 / 437.7 MB, free: 9.91 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.0034/0.1599, allocations: 1.285 MB / 439 MB, free: 8.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1599, allocations: 15.97 kB / 439 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.1601, allocations: 106.7 kB / 439.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1603, allocations: 96.33 kB / 439.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/0.1611, allocations: 491.9 kB / 439.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.1611, allocations: 49.69 kB / 439.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1612, allocations: 72.31 kB / 439.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1626, allocations: 0.6585 MB / 440.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.1626, allocations: 0 / 440.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.1627, allocations: 24 kB / 440.5 MB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.1627, allocations: 16 kB / 440.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.1644, allocations: 0.6961 MB / 441.2 MB, free: 6.297 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.003962/0.1684, allocations: 2.375 MB / 443.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.1697, allocations: 0.5592 MB / 444.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/0.1704, allocations: 310 kB / 444.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.1705, allocations: 8.422 kB / 444.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009358/0.1714, allocations: 433.4 kB / 444.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 2.034e-06/0.1714, allocations: 0 / 444.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.3526/0.524, allocations: 15.38 MB / 460.2 MB, free: 23.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.5241, allocations: 140.4 kB / 460.4 MB, free: 22.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.5251, allocations: 0.5289 MB / 460.9 MB, free: 22.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.5253, allocations: 43.27 kB / 461 MB, free: 22.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.5256, allocations: 396.9 kB / 461.3 MB, free: 22.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.5259, allocations: 338.2 kB / 461.7 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.5264, allocations: 185.1 kB / 461.8 MB, free: 21.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5265, allocations: 387 kB / 462.2 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/0.5286, allocations: 0.7192 MB / 462.9 MB, free: 21.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.5305, allocations: 0.9508 MB / 463.9 MB, free: 20.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.5341, allocations: 1.689 MB / 465.6 MB, free: 19.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.5341, allocations: 7.719 kB / 465.6 MB, free: 19.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02207/0.5562, allocations: 5.337 MB / 470.9 MB, free: 17.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.5563, allocations: 76.45 kB / 471 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.5563, allocations: 5.875 kB / 471 MB, free: 16.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03149/0.5878, allocations: 6.84 MB / 477.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.5885, allocations: 151.7 kB / 478 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/0.5941, allocations: 3.162 MB / 481.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.5957, allocations: 172.5 kB / 481.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/0.5958, allocations: 51.47 kB / 481.4 MB, free: 9.879 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.0004095/0.5962, allocations: 227 kB / 481.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.5964, allocations: 87.48 kB / 481.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/0.6163, allocations: 5.062 MB / 486.7 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.6163, allocations: 15.94 kB / 486.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.6163, allocations: 0 / 486.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.019e-05/0.6164, allocations: 15.94 kB / 486.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6179, allocations: 1.103 MB / 487.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6179, allocations: 0 / 487.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.6183, allocations: 95.88 kB / 488 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03264/0.651, allocations: 6.794 MB / 494.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002401/0.6512, allocations: 27.97 kB / 494.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.6573, allocations: 3.038 MB / 497.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6573, allocations: 3.828 kB / 497.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02512/0.6824, allocations: 5.952 MB / 0.492 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.6828, allocations: 152.5 kB / 0.4921 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.683, allocations: 20 kB / 0.4921 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.6844, allocations: 171.4 kB / 0.4923 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.6846, allocations: 92.88 kB / 0.4924 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.6847, allocations: 31.98 kB / 0.4924 GB, free: 2.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.6852, allocations: 358.8 kB / 0.4928 GB, free: 2.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6852, allocations: 0 / 0.4928 GB, free: 2.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008131/0.686, allocations: 260 kB / 0.493 GB, free: 2.277 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.02566/0.7116, allocations: 6.53 MB / 0.4994 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006991/0.7186, allocations: 2.098 MB / 0.5014 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.7186, allocations: 0 / 0.5014 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003532/0.7222, allocations: 1.017 MB / 0.5024 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.723, allocations: 133.2 kB / 0.5026 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05747/0.7805, allocations: 15.89 MB / 0.5181 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.7812, allocations: 0.9507 MB / 0.519 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004278/0.7816, allocations: 58.03 kB / 0.5191 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.782, allocations: 274.7 kB / 0.5193 GB, free: 6.996 MB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.782, allocations: 0 / 0.5193 GB, free: 6.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07636/0.8584, allocations: 29.71 MB / 0.5483 GB, free: 9.543 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.38, allocations: 12.05 kB / 0.5483 GB, free: 9.531 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingNPN_NORGate/HeatingNPN_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.45094404835254]