Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.002078/0.002078, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002643/0.002643, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002991/0.002991, allocations: 59.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.258, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003648/0.2617, allocations: 1.588 MB / 432.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2629, allocations: 0.5065 MB / 433.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2631, allocations: 7.938 kB / 433.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.53e-05/0.2631, allocations: 3.938 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2633, allocations: 7.938 kB / 433.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2637, allocations: 51.81 kB / 433.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.2638, allocations: 47.8 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.2639, allocations: 15.97 kB / 433.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2641, allocations: 27.92 kB / 433.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.2641, allocations: 19.86 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2641, allocations: 7.938 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.2642, allocations: 8 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.2642, allocations: 8 kB / 433.4 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.2643, allocations: 35.72 kB / 433.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.2645, allocations: 61.42 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2645, allocations: 0 / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2645, allocations: 0 / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2645, allocations: 0 / 433.5 MB, free: 4.074 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006004/0.2651, allocations: 305.9 kB / 433.8 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.2651, allocations: 11.98 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.2652, allocations: 38.75 kB / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2654, allocations: 24.86 kB / 433.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.2658, allocations: 141.1 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2658, allocations: 4.375 kB / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2658, allocations: 384 / 434.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.2662, allocations: 117.2 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2662, allocations: 0 / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2662, allocations: 4 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2662, allocations: 0 / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.2663, allocations: 23.92 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.2667, allocations: 240.8 kB / 434.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.2669, allocations: 61.14 kB / 434.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.267, allocations: 25.77 kB / 434.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.267, allocations: 4 kB / 434.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.267, allocations: 30.56 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.061e-06/0.267, allocations: 4 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002631/0.2673, allocations: 81.56 kB / 434.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2674, allocations: 81.11 kB / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2675, allocations: 138.1 kB / 434.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2675, allocations: 25.7 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.2676, allocations: 88.14 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.2676, allocations: 7.953 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.2676, allocations: 17.7 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2678, allocations: 322.8 kB / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.2678, allocations: 12.11 kB / 435.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.2679, allocations: 35.38 kB / 435.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.2679, allocations: 47.36 kB / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2679, allocations: 0 / 435.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.2681, allocations: 81.53 kB / 435.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2681, allocations: 7.938 kB / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2681, allocations: 4 kB / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2681, allocations: 0 / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.2682, allocations: 11.98 kB / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2682, allocations: 0 / 435.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.2682, allocations: 4 kB / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.2682, allocations: 0 / 435.5 MB, free: 1.863 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.2683, allocations: 126.6 kB / 435.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.2684, allocations: 49.69 kB / 435.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.2684, allocations: 20.66 kB / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2684, allocations: 0 / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2685, allocations: 0 / 435.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2685, allocations: 3.984 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.2686, allocations: 144.7 kB / 435.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2687, allocations: 3.984 kB / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.2687, allocations: 12 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2687, allocations: 0 / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.2687, allocations: 0 / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2687, allocations: 0 / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2687, allocations: 8 kB / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.2689, allocations: 172.2 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.269, allocations: 15.94 kB / 436 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.269, allocations: 4 kB / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.2691, allocations: 0 / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2691, allocations: 3.984 kB / 436.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.2691, allocations: 8 kB / 436.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.2692, allocations: 106 kB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2692, allocations: 0 / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.2694, allocations: 8 kB / 436.2 MB, free: 1.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004829/0.2699, allocations: 0.7131 MB / 436.9 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.27, allocations: 27.92 kB / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.27, allocations: 0 / 436.9 MB, free: 348 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.2701, allocations: 11.98 kB / 436.9 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.2704, allocations: 23.95 kB / 436.9 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2718, allocations: 1.378 MB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.087e-05/0.2718, allocations: 75.31 kB / 438.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.2719, allocations: 4 kB / 438.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2719, allocations: 11.44 kB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2719, allocations: 0 / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.2995, allocations: 2.118 MB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.96, allocations: 11.62 kB / 440.5 MB, free: 12.7 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 13.58197697531432]