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.001351/0.001351, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001597/0.001597, allocations: 217.4 kB / 24.53 MB, free: 4.008 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.569/1.569, allocations: 230.5 MB / 258.2 MB, free: 7.988 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 63.91 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 53.4 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.00635/0.3227, allocations: 5.001 MB / 437 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.3257, allocations: 1.307 MB / 438.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.3264, allocations: 15.88 kB / 438.3 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.3268, allocations: 122.7 kB / 438.4 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.3275, allocations: 261.6 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3286, allocations: 307.5 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.33, allocations: 1.103 MB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.3304, allocations: 183 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.331, allocations: 430.6 kB / 440.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.3316, allocations: 482 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3318, allocations: 92 kB / 441.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.332, allocations: 112 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.3323, allocations: 203.3 kB / 441.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005477/0.3328, allocations: 457.8 kB / 442 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.3344, allocations: 1.035 MB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3344, allocations: 0 / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3344, allocations: 0 / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.3344, allocations: 0 / 443 MB, free: 11.57 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.002818/0.3372, allocations: 1.209 MB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3373, allocations: 8.031 kB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.697e-05/0.3373, allocations: 17.5 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.3375, allocations: 106.7 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3377, allocations: 100.3 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.3385, allocations: 430 kB / 444.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.3385, allocations: 57.62 kB / 445 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3386, allocations: 68.31 kB / 445 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3402, allocations: 0.6545 MB / 445.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3402, allocations: 0 / 445.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/0.3402, allocations: 27.94 kB / 445.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3403, allocations: 20 kB / 445.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.3421, allocations: 0.6922 MB / 446.4 MB, free: 8.105 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.00448/0.3466, allocations: 2.308 MB / 448.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3481, allocations: 0.5657 MB / 449.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.3489, allocations: 306.6 kB / 449.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.3489, allocations: 20.41 kB / 449.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3499, allocations: 421.4 kB / 450 MB, free: 4.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.434e-06/0.3499, allocations: 4 kB / 450 MB, free: 4.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07029/0.4202, allocations: 15.24 MB / 465.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.4203, allocations: 145.5 kB / 465.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.4212, allocations: 0.5186 MB / 465.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002906/0.4215, allocations: 49.7 kB / 466 MB, free: 4.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.4219, allocations: 392.7 kB / 466.4 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/0.4225, allocations: 337.2 kB / 466.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.423, allocations: 178.6 kB / 466.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4232, allocations: 394.7 kB / 467.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.4253, allocations: 0.7205 MB / 468 MB, free: 2.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/0.4278, allocations: 0.9558 MB / 468.9 MB, free: 1.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.4321, allocations: 1.693 MB / 470.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4321, allocations: 0 / 470.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02397/0.4561, allocations: 5.339 MB / 476 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.4562, allocations: 67.39 kB / 476 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.4562, allocations: 4 kB / 476 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03427/0.4905, allocations: 6.852 MB / 482.9 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.4912, allocations: 151.7 kB / 483 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/0.4986, allocations: 3.15 MB / 486.2 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.5003, allocations: 191.7 kB / 486.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.5005, allocations: 47.97 kB / 486.4 MB, free: 15.5 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.000494/0.501, allocations: 221.7 kB / 486.6 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.5012, allocations: 87.42 kB / 486.7 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02293/0.5241, allocations: 5.072 MB / 491.8 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.5241, allocations: 16.25 kB / 491.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5242, allocations: 0 / 491.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/0.5242, allocations: 7.984 kB / 491.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.526, allocations: 1.072 MB / 492.9 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.526, allocations: 0 / 492.9 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/0.5265, allocations: 95.77 kB / 493 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03452/0.5611, allocations: 6.793 MB / 499.8 MB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/0.5614, allocations: 23.98 kB / 499.8 MB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.5678, allocations: 3.052 MB / 0.4911 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5678, allocations: 0 / 0.4911 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/0.5923, allocations: 5.952 MB / 0.4969 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.5925, allocations: 71.47 kB / 0.4969 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.5927, allocations: 16 kB / 0.4969 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.5941, allocations: 171.8 kB / 0.4971 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.5943, allocations: 96.83 kB / 0.4972 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.5944, allocations: 35.97 kB / 0.4972 GB, free: 8.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.5949, allocations: 354.8 kB / 0.4976 GB, free: 8.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5949, allocations: 0 / 0.4976 GB, free: 8.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000767/0.5956, allocations: 263.9 kB / 0.4978 GB, free: 7.961 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.02569/0.6213, allocations: 6.54 MB / 0.5042 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007392/0.6287, allocations: 2.091 MB / 0.5063 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.6287, allocations: 0 / 0.5063 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.6326, allocations: 1.023 MB / 0.5073 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6336, allocations: 142 kB / 0.5074 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05803/0.6917, allocations: 15.88 MB / 0.5229 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.6924, allocations: 0.9507 MB / 0.5238 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.6927, allocations: 58.27 kB / 0.5239 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/0.6932, allocations: 279.3 kB / 0.5241 GB, free: 12.58 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6932, allocations: 0 / 0.5241 GB, free: 12.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2604/0.9535, allocations: 30.96 MB / 0.5544 GB, free: 99.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.16, allocations: 10.84 kB / 0.5544 GB, free: 99.92 MB / 446.1 MB " [Timeout remaining time 645] (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/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: 18.394125025020912]