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.001388/0.001388, 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.001806/0.001806, allocations: 216.5 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.55/1.55, allocations: 230.5 MB / 258.2 MB, free: 7.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 63.89 kB / 378.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3102, allocations: 53.4 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007359/0.3176, allocations: 4.985 MB / 437 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.3212, allocations: 1.299 MB / 438.3 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007343/0.3219, allocations: 19.88 kB / 438.3 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.3223, allocations: 118.7 kB / 438.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007583/0.3231, allocations: 261.8 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009484/0.324, allocations: 311.5 kB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3254, allocations: 1.103 MB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.3258, allocations: 183 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.3264, allocations: 438.5 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006048/0.327, allocations: 474 kB / 441.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3271, allocations: 92 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.3273, allocations: 116 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3275, allocations: 195.3 kB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.3279, allocations: 457.8 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3291, allocations: 1.031 MB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3291, allocations: 0 / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3291, allocations: 8 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.3291, allocations: 7.922 kB / 443 MB, free: 11.6 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.002646/0.3318, allocations: 1.202 MB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3318, allocations: 8.031 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.87e-05/0.3319, allocations: 21.5 kB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.332, allocations: 102.7 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.3321, allocations: 104.3 kB / 444.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3329, allocations: 434.1 kB / 444.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.3329, allocations: 49.69 kB / 444.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.333, allocations: 64.33 kB / 445 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.3344, allocations: 0.6623 MB / 445.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3344, allocations: 4 kB / 445.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.3345, allocations: 27.94 kB / 445.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3345, allocations: 16 kB / 445.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.3363, allocations: 0.6961 MB / 446.4 MB, free: 8.129 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.004068/0.3403, allocations: 2.304 MB / 448.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3419, allocations: 0.5643 MB / 449.3 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/0.3427, allocations: 314.6 kB / 449.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.3428, allocations: 8.422 kB / 449.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009748/0.3437, allocations: 433.4 kB / 450 MB, free: 4.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.775e-06/0.3437, allocations: 0 / 450 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.07102/0.4148, allocations: 15.23 MB / 465.3 MB, free: 5.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4149, allocations: 141.5 kB / 465.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.4156, allocations: 0.5225 MB / 465.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.4158, allocations: 41.7 kB / 466 MB, free: 4.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.4162, allocations: 400.7 kB / 466.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.4165, allocations: 329.2 kB / 466.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.4169, allocations: 186.6 kB / 466.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4171, allocations: 386.7 kB / 467.2 MB, free: 3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/0.4192, allocations: 0.7205 MB / 467.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.4216, allocations: 0.9675 MB / 468.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004307/0.4259, allocations: 1.693 MB / 470.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4259, allocations: 0 / 470.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02339/0.4493, allocations: 5.327 MB / 475.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.044e-05/0.4494, allocations: 71.39 kB / 476 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.4494, allocations: 4 kB / 476 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03464/0.484, allocations: 6.836 MB / 482.8 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4848, allocations: 151.7 kB / 483 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.491, allocations: 3.009 MB / 486 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.4927, allocations: 179.8 kB / 486.2 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.4928, allocations: 47.97 kB / 486.2 MB, free: 15.71 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.0004247/0.4932, allocations: 225.7 kB / 486.4 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4934, allocations: 87.48 kB / 486.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/0.5158, allocations: 5.064 MB / 491.6 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.5158, allocations: 19.94 kB / 491.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5158, allocations: 3.984 kB / 491.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.5159, allocations: 3.984 kB / 491.6 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5175, allocations: 1.072 MB / 492.7 MB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5175, allocations: 3.938 kB / 492.7 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.518, allocations: 91.88 kB / 492.8 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03434/0.5523, allocations: 6.781 MB / 499.6 MB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/0.5526, allocations: 23.98 kB / 499.6 MB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006041/0.5586, allocations: 3.033 MB / 0.4908 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5587, allocations: 4 kB / 0.4908 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/0.5832, allocations: 5.952 MB / 0.4967 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.5834, allocations: 75.45 kB / 0.4967 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5836, allocations: 16 kB / 0.4967 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.5851, allocations: 175.8 kB / 0.4969 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.5853, allocations: 100.9 kB / 0.497 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5854, allocations: 27.98 kB / 0.497 GB, free: 8.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004437/0.5859, allocations: 354.8 kB / 0.4974 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5859, allocations: 0 / 0.4974 GB, free: 8.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.5867, allocations: 263.9 kB / 0.4976 GB, free: 8.188 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.02571/0.6124, allocations: 6.524 MB / 0.504 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006828/0.6192, allocations: 1.97 MB / 0.5059 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.6192, allocations: 4 kB / 0.5059 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00365/0.6229, allocations: 1.007 MB / 0.5069 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.6237, allocations: 134.4 kB / 0.507 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05656/0.6803, allocations: 15.9 MB / 0.5226 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6809, allocations: 0.9429 MB / 0.5235 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.6812, allocations: 62.25 kB / 0.5235 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/0.6816, allocations: 271.3 kB / 0.5238 GB, free: 12.95 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6816, allocations: 0 / 0.5238 GB, free: 12.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2498/0.9314, allocations: 31.24 MB / 0.5543 GB, free: 99.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.16, allocations: 6.859 kB / 0.5543 GB, free: 99.92 MB / 446.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.38396405999083]