Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 118 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 207.6 MB / 231.8 MB, free: 4.074 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 51.92 kB / 342.3 MB, free: 9.973 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1195, allocations: 49.13 MB / 391.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.00798/0.1275, allocations: 4.719 MB / 396.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.1316, allocations: 1.291 MB / 397.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009262/0.1325, allocations: 11.94 kB / 397.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.133, allocations: 114.8 kB / 397.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008442/0.1338, allocations: 253.8 kB / 397.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1349, allocations: 303.5 kB / 398.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.1366, allocations: 1.052 MB / 399.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.137, allocations: 190.3 kB / 399.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.1378, allocations: 418.6 kB / 399.8 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.1385, allocations: 466.1 kB / 400.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.1386, allocations: 88 kB / 400.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1389, allocations: 112 kB / 400.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1391, allocations: 191.4 kB / 400.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.1396, allocations: 441.9 kB / 401 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1411, allocations: 0.9999 MB / 402 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1411, allocations: 0 / 402 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1411, allocations: 0 / 402 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.1411, allocations: 0 / 402 MB, free: 14.02 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002898/0.144, allocations: 1.23 MB / 403.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.144, allocations: 12.03 kB / 403.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.1442, allocations: 114.6 kB / 403.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.1444, allocations: 92.38 kB / 403.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.1452, allocations: 469.8 kB / 403.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.1452, allocations: 53.69 kB / 404 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1454, allocations: 64.38 kB / 404 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.147, allocations: 0.639 MB / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.147, allocations: 0 / 404.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.1471, allocations: 24 kB / 404.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.1471, allocations: 12 kB / 404.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.149, allocations: 0.6805 MB / 405.4 MB, free: 10.52 MB / 334.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.004762/0.1538, allocations: 2.309 MB / 407.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.1554, allocations: 0.563 MB / 408.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.1562, allocations: 306 kB / 408.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.1563, allocations: 16.42 kB / 408.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.1573, allocations: 425.4 kB / 409 MB, free: 6.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.545e-06/0.1573, allocations: 0 / 409 MB, free: 6.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07501/0.2323, allocations: 15.38 MB / 424.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.2325, allocations: 145.5 kB / 424.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.2335, allocations: 498.8 kB / 425 MB, free: 6.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.2337, allocations: 41.7 kB / 425.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.2341, allocations: 372.8 kB / 425.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000442/0.2346, allocations: 329.2 kB / 425.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/0.235, allocations: 178.5 kB / 425.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.2352, allocations: 386.8 kB / 426.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.2375, allocations: 0.7202 MB / 427 MB, free: 4.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.24, allocations: 0.9264 MB / 427.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/0.2446, allocations: 1.658 MB / 429.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.2446, allocations: 0 / 429.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02526/0.2699, allocations: 5.308 MB / 434.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.27, allocations: 67.39 kB / 435 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.2701, allocations: 4 kB / 435 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03598/0.306, allocations: 6.837 MB / 441.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.3068, allocations: 147.7 kB / 442 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008006/0.3148, allocations: 3.16 MB / 445.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.3168, allocations: 179.8 kB / 445.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.3171, allocations: 47.97 kB / 445.3 MB, free: 1.941 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0006319/0.3177, allocations: 221.6 kB / 445.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.318, allocations: 75.53 kB / 445.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/0.3415, allocations: 5.056 MB / 450.7 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.3415, allocations: 15.98 kB / 450.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3415, allocations: 4 kB / 450.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.3415, allocations: 3.984 kB / 450.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.3437, allocations: 1.108 MB / 451.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.3437, allocations: 0 / 451.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.3443, allocations: 95.81 kB / 451.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03608/0.3804, allocations: 6.797 MB / 458.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.3807, allocations: 27.97 kB / 458.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006967/0.3876, allocations: 3.044 MB / 461.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3876, allocations: 0 / 461.8 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2496/0.6373, allocations: 5.939 MB / 467.7 MB, free: 68.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003626/0.6376, allocations: 143.8 kB / 467.9 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.6379, allocations: 17.77 kB / 467.9 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/0.6394, allocations: 172.6 kB / 468 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.6398, allocations: 96.11 kB / 468.1 MB, free: 68.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.6399, allocations: 34 kB / 468.2 MB, free: 68.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006817/0.6406, allocations: 332.4 kB / 468.5 MB, free: 68.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6406, allocations: 1.375 kB / 468.5 MB, free: 68.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001208/0.6418, allocations: 257.2 kB / 468.7 MB, free: 68.29 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.02489/0.6667, allocations: 6.527 MB / 475.3 MB, free: 66.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006807/0.6735, allocations: 2.086 MB / 477.4 MB, free: 65.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6735, allocations: 0 / 477.4 MB, free: 65.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003356/0.6768, allocations: 1.02 MB / 478.4 MB, free: 64.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.6777, allocations: 128.8 kB / 478.5 MB, free: 64.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04906/0.7267, allocations: 15.66 MB / 494.2 MB, free: 50.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.727, allocations: 0.9408 MB / 495.1 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.7274, allocations: 54.02 kB / 495.2 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.7277, allocations: 268.1 kB / 495.4 MB, free: 49.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.542e-06/0.7277, allocations: 0 / 495.4 MB, free: 49.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.7853, allocations: 29.26 MB / 0.5124 GB, free: 19.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.04, allocations: 18.98 kB / 0.5124 GB, free: 19.7 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396668 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingNPN_OrGate/HeatingNPN_OrGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.971869865999906]