Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 194.8 kB / 23.71 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 47.92 kB / 370.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2888, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00437/0.2932, allocations: 1.486 MB / 424.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.2944, allocations: 403.1 kB / 424.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.2945, allocations: 3.938 kB / 424.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.2945, allocations: 3.938 kB / 424.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.2946, allocations: 3.938 kB / 424.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.295, allocations: 39.89 kB / 424.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.2952, allocations: 31.86 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.2953, allocations: 8 kB / 424.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2954, allocations: 31.84 kB / 424.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.2955, allocations: 11.92 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.2955, allocations: 4 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.2955, allocations: 4 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.2955, allocations: 7.938 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.2956, allocations: 11.94 kB / 424.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2957, allocations: 40.22 kB / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.2957, allocations: 4 kB / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2957, allocations: 0 / 424.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.2957, allocations: 0 / 424.7 MB, free: 12.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005829/0.2963, allocations: 278.2 kB / 424.9 MB, free: 12.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2964, allocations: 8.031 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.2964, allocations: 34.75 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.2965, allocations: 12.83 kB / 425 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.2968, allocations: 130.3 kB / 425.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2968, allocations: 384 / 425.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2968, allocations: 8.375 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.2972, allocations: 119.4 kB / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2973, allocations: 0 / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2973, allocations: 0 / 425.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2973, allocations: 8 kB / 425.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.2974, allocations: 19.92 kB / 425.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.2976, allocations: 128.8 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.2978, allocations: 58.56 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.2979, allocations: 20.89 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.2979, allocations: 4 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.298, allocations: 42.5 kB / 425.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.298, allocations: 0 / 425.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003446/0.2983, allocations: 81.55 kB / 425.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.2984, allocations: 51.41 kB / 425.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2985, allocations: 113.8 kB / 425.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.2985, allocations: 25.7 kB / 425.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.2986, allocations: 84.14 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.2986, allocations: 4 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.2987, allocations: 17.72 kB / 425.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2988, allocations: 318.8 kB / 426.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.2989, allocations: 4 kB / 426.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.2989, allocations: 27.44 kB / 426.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.299, allocations: 39.36 kB / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.299, allocations: 0 / 426.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.2991, allocations: 61.55 kB / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2992, allocations: 4 kB / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2992, allocations: 384 / 426.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2992, allocations: 4 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.2993, allocations: 7.984 kB / 426.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.2993, allocations: 4 kB / 426.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.2993, allocations: 3.938 kB / 426.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2993, allocations: 0 / 426.4 MB, free: 10.42 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 0.0001213/0.2994, allocations: 117.8 kB / 426.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.2996, allocations: 73.59 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.2997, allocations: 8 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2997, allocations: 4 kB / 426.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2997, allocations: 0 / 426.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2997, allocations: 0 / 426.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2998, allocations: 124.8 kB / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2998, allocations: 0 / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.2999, allocations: 15.92 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2999, allocations: 8 kB / 426.7 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3002, allocations: 93 kB / 426.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.3002, allocations: 11.88 kB / 426.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3002, allocations: 0 / 426.8 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.3003, allocations: 8.359 kB / 426.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.3003, allocations: 4 kB / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.3003, allocations: 0 / 426.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.3004, allocations: 87.28 kB / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004072/0.3008, allocations: 4 kB / 426.9 MB, free: 9.785 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0006757/0.3015, allocations: 0.6358 MB / 427.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3016, allocations: 23.92 kB / 427.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3016, allocations: 0 / 427.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.3016, allocations: 4 kB / 427.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.302, allocations: 30.34 kB / 427.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3036, allocations: 1.191 MB / 428.8 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.3036, allocations: 67.2 kB / 428.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.99e-05/0.3037, allocations: 7.922 kB / 428.9 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.3037, allocations: 15.44 kB / 428.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3037, allocations: 0 / 428.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.34, allocations: 1.807 MB / 430.7 MB, free: 5.992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.27, allocations: 17.16 kB / 430.7 MB, free: 5.98 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.767433177214116]