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.001282/0.001282, allocations: 120.4 kB / 20.43 MB, free: 1.301 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.001425/0.001425, allocations: 211.3 kB / 23.74 MB, free: 4.539 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.001902/0.001902, allocations: 59.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.306, allocations: 53.41 MB / 431.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002898/0.3089, allocations: 1.599 MB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.3099, allocations: 0.5492 MB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.3099, allocations: 4 kB / 433.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.31, allocations: 3.938 kB / 433.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3101, allocations: 11.86 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.3104, allocations: 51.83 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3105, allocations: 43.89 kB / 433.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.3106, allocations: 8 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3107, allocations: 39.86 kB / 433.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.3108, allocations: 27.84 kB / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3108, allocations: 0 / 433.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.3108, allocations: 8 kB / 433.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.3109, allocations: 19.86 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.3109, allocations: 23.81 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.3111, allocations: 59.11 kB / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3111, allocations: 0 / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3111, allocations: 0 / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3111, allocations: 0 / 433.6 MB, free: 4.191 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.0005035/0.3116, allocations: 311 kB / 433.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3116, allocations: 8.031 kB / 434 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.3117, allocations: 38.69 kB / 434 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3118, allocations: 20.83 kB / 434 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3121, allocations: 133.2 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3121, allocations: 8.375 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.3121, allocations: 4.375 kB / 434.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3124, allocations: 129.1 kB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3124, allocations: 0 / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3124, allocations: 0 / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3124, allocations: 3.938 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.3125, allocations: 23.97 kB / 434.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3128, allocations: 240.8 kB / 434.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.313, allocations: 61.14 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.3131, allocations: 33.77 kB / 434.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3131, allocations: 0 / 434.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3131, allocations: 30.56 kB / 434.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3131, allocations: 7.938 kB / 434.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002629/0.3134, allocations: 77.56 kB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3135, allocations: 89.03 kB / 434.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3136, allocations: 138.3 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3136, allocations: 29.7 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.3137, allocations: 84.14 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3137, allocations: 7.938 kB / 435.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.3137, allocations: 17.72 kB / 435.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3139, allocations: 322.8 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-05/0.3139, allocations: 7.984 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.314, allocations: 39.42 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.3141, allocations: 47.36 kB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3141, allocations: 0 / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001401/0.3142, allocations: 77.52 kB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3142, allocations: 4 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3142, allocations: 3.984 kB / 435.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3142, allocations: 4 kB / 435.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.3143, allocations: 7.938 kB / 435.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3143, allocations: 4 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.3143, allocations: 0 / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3144, allocations: 7.984 kB / 435.6 MB, free: 1.961 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 8.69e-05/0.3144, allocations: 121.9 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.3145, allocations: 49.64 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.3146, allocations: 12.34 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3146, allocations: 0 / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3146, allocations: 0 / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3146, allocations: 4 kB / 435.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3147, allocations: 140.7 kB / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3147, allocations: 0 / 435.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.3148, allocations: 15.92 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3148, allocations: 4 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3148, allocations: 4 kB / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3148, allocations: 0 / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3148, allocations: 0 / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.315, allocations: 168.6 kB / 436.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.315, allocations: 15.94 kB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3151, allocations: 11.94 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.3151, allocations: 4 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3152, allocations: 12.02 kB / 436.2 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3152, allocations: 4 kB / 436.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.3152, allocations: 106 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3152, allocations: 0 / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3155, allocations: 8 kB / 436.3 MB, free: 1.211 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.0004663/0.3159, allocations: 0.7092 MB / 437 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.3161, allocations: 31.92 kB / 437 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3161, allocations: 0 / 437 MB, free: 452 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.3161, allocations: 8.234 kB / 437 MB, free: 444 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3165, allocations: 26.44 kB / 437.1 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3178, allocations: 1.377 MB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3182, allocations: 0.6924 MB / 439.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3182, allocations: 3.984 kB / 439.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.3183, allocations: 15.44 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3183, allocations: 0 / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.3459, allocations: 1.689 MB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.03, allocations: 18.98 kB / 440.9 MB, free: 12.6 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.664854181999544]