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.001772/0.001772, allocations: 114 kB / 20.44 MB, free: 1.469 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.002162/0.002162, allocations: 211.4 kB / 23.74 MB, free: 4.695 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.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.001969/0.001969, allocations: 55.91 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2473, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006783/0.2541, allocations: 4.993 MB / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.2568, allocations: 1.291 MB / 437.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005867/0.2574, allocations: 19.88 kB / 437.5 MB, free: 368 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.2578, allocations: 122.7 kB / 437.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007267/0.2585, allocations: 261.8 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.2594, allocations: 311.5 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2608, allocations: 1.099 MB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.2612, allocations: 191 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.2619, allocations: 426.5 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008215/0.2627, allocations: 486 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002473/0.2629, allocations: 88 kB / 440.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003479/0.2633, allocations: 116 kB / 440.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.2635, allocations: 199.3 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006496/0.2642, allocations: 449.8 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.2656, allocations: 1.039 MB / 442.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2656, allocations: 0 / 442.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2657, allocations: 4 kB / 442.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.2657, allocations: 0 / 442.2 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.003033/0.2687, allocations: 1.209 MB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2688, allocations: 12.03 kB / 443.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.2689, allocations: 106.7 kB / 443.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.2691, allocations: 96.33 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.27, allocations: 434.1 kB / 444.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.2701, allocations: 49.69 kB / 444.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2702, allocations: 68.33 kB / 444.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2717, allocations: 0.6546 MB / 444.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2717, allocations: 0 / 444.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.2718, allocations: 31.98 kB / 444.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.2718, allocations: 16 kB / 444.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.2735, allocations: 0.6921 MB / 445.6 MB, free: 8.156 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.004415/0.2779, allocations: 2.308 MB / 447.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.2793, allocations: 0.5592 MB / 448.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.28, allocations: 310.6 kB / 448.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.2801, allocations: 20.41 kB / 448.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009499/0.281, allocations: 429.4 kB / 449.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.084e-06/0.281, allocations: 0 / 449.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06911/0.3501, allocations: 15.23 MB / 464.4 MB, free: 5.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.3502, allocations: 141.5 kB / 464.6 MB, free: 4.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.351, allocations: 0.5264 MB / 465.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.3512, allocations: 45.7 kB / 465.1 MB, free: 4.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.3515, allocations: 392.7 kB / 465.5 MB, free: 3.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.3519, allocations: 329.2 kB / 465.8 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/0.3523, allocations: 182.6 kB / 466 MB, free: 3.414 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.3525, allocations: 394.7 kB / 466.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.3546, allocations: 0.7166 MB / 467.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.3568, allocations: 0.9675 MB / 468.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.3609, allocations: 1.697 MB / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3609, allocations: 0 / 469.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02343/0.3844, allocations: 5.335 MB / 475.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.3845, allocations: 59.41 kB / 475.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3845, allocations: 8 kB / 475.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03605/0.4205, allocations: 6.832 MB / 482 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.4213, allocations: 155.7 kB / 482.2 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.4277, allocations: 3.009 MB / 485.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.4294, allocations: 187.8 kB / 485.4 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.4296, allocations: 51.91 kB / 485.4 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.0005025/0.4301, allocations: 225.7 kB / 485.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.4303, allocations: 79.48 kB / 485.7 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/0.4529, allocations: 5.06 MB / 490.8 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.4529, allocations: 12 kB / 490.8 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4529, allocations: 0 / 490.8 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.4529, allocations: 12.02 kB / 490.8 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.4546, allocations: 1.08 MB / 491.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4547, allocations: 0 / 491.9 MB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.4552, allocations: 88.12 kB / 492 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03463/0.4898, allocations: 6.777 MB / 498.7 MB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.49, allocations: 31.97 kB / 498.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006088/0.4961, allocations: 3.037 MB / 0.4901 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4961, allocations: 0 / 0.4901 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02483/0.5209, allocations: 5.948 MB / 0.4959 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.5211, allocations: 79.39 kB / 0.4959 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.5213, allocations: 23.94 kB / 0.496 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5227, allocations: 163.8 kB / 0.4961 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.5229, allocations: 100.8 kB / 0.4962 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.523, allocations: 39.97 kB / 0.4963 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.5234, allocations: 350.8 kB / 0.4966 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5234, allocations: 0 / 0.4966 GB, free: 8.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007605/0.5242, allocations: 263.9 kB / 0.4968 GB, free: 8.199 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.02532/0.5495, allocations: 6.528 MB / 0.5032 GB, free: 1.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00599/0.5555, allocations: 1.966 MB / 0.5051 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5555, allocations: 0 / 0.5051 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.5589, allocations: 1.015 MB / 0.5061 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/0.5597, allocations: 135.7 kB / 0.5063 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05656/0.6163, allocations: 15.89 MB / 0.5218 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.6169, allocations: 0.9468 MB / 0.5227 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.6172, allocations: 62.27 kB / 0.5228 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.6176, allocations: 275.3 kB / 0.523 GB, free: 12.97 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6176, allocations: 0 / 0.523 GB, free: 12.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2497/0.8673, allocations: 31.21 MB / 0.5535 GB, free: 100.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.77, allocations: 2.578 kB / 0.5535 GB, free: 100.3 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: 17.543965158984065]