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.001747/0.001747, allocations: 112 kB / 20.43 MB, free: 1.449 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.001997/0.001997, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.513/1.513, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001669/0.001669, allocations: 47.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2757, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002869/0.2786, allocations: 1.513 MB / 424.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.2794, allocations: 434.9 kB / 424.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.2795, allocations: 0 / 424.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.2795, allocations: 3.938 kB / 424.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.2796, allocations: 11.92 kB / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2798, allocations: 31.91 kB / 424.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2799, allocations: 43.8 kB / 424.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.28, allocations: 4 kB / 424.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.2801, allocations: 19.92 kB / 424.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.2802, allocations: 19.91 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2802, allocations: 4 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.2802, allocations: 0 / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.2802, allocations: 11.94 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.2802, allocations: 15.92 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.851e-05/0.2803, allocations: 40.2 kB / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2803, allocations: 0 / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2803, allocations: 0 / 424.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2804, allocations: 3.938 kB / 424.8 MB, free: 12.47 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.0004252/0.2808, allocations: 278.2 kB / 425.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2808, allocations: 12.03 kB / 425.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.2809, allocations: 30.75 kB / 425.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.2809, allocations: 8.891 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2811, allocations: 126.4 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-06/0.2811, allocations: 4.375 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2811, allocations: 384 / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.2814, allocations: 119.4 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2814, allocations: 0 / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.2814, allocations: 0 / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2814, allocations: 4 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.2815, allocations: 19.98 kB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.2816, allocations: 132.7 kB / 425.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2818, allocations: 54.55 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.2818, allocations: 24.92 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2819, allocations: 4 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2819, allocations: 42.42 kB / 425.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2819, allocations: 0 / 425.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.2821, allocations: 77.62 kB / 425.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.2822, allocations: 59.33 kB / 425.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.2823, allocations: 109.8 kB / 425.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2823, allocations: 29.7 kB / 425.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.2823, allocations: 84.14 kB / 426 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.2823, allocations: 8 kB / 426 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.2824, allocations: 9.719 kB / 426 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2825, allocations: 322.8 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.2825, allocations: 3.938 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.2825, allocations: 27.38 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.695e-05/0.2826, allocations: 39.38 kB / 426.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2826, allocations: 0 / 426.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.088e-05/0.2827, allocations: 61.56 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2827, allocations: 8 kB / 426.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2827, allocations: 128 / 426.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2827, allocations: 4 kB / 426.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.2828, allocations: 11.98 kB / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2828, allocations: 0 / 426.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.2828, allocations: 4 kB / 426.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.2828, allocations: 4 kB / 426.5 MB, free: 10.56 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.00013/0.2829, allocations: 113.8 kB / 426.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.283, allocations: 65.56 kB / 426.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.2831, allocations: 12 kB / 426.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2831, allocations: 4 kB / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2831, allocations: 0 / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2831, allocations: 0 / 426.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2832, allocations: 132.7 kB / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2832, allocations: 0 / 426.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.2832, allocations: 7.938 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2832, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2832, allocations: 4 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2832, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2832, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.2834, allocations: 97.38 kB / 426.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.2834, allocations: 15.86 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2834, allocations: 0 / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.2835, allocations: 4 kB / 426.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-06/0.2835, allocations: 3.938 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2835, allocations: 0 / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.2835, allocations: 91.27 kB / 427 MB, free: 9.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2835, allocations: 0 / 427 MB, free: 9.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.2837, allocations: 8 kB / 427 MB, free: 9.926 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.0007255/0.2844, allocations: 0.6245 MB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.2846, allocations: 24.17 kB / 427.7 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2846, allocations: 4.062 kB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2846, allocations: 7.875 kB / 427.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.2848, allocations: 24.11 kB / 427.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2859, allocations: 1.198 MB / 428.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2862, allocations: 0.6844 MB / 429.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.128e-05/0.2862, allocations: 0 / 429.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.2863, allocations: 15.44 kB / 429.6 MB, free: 7.191 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2863, allocations: 3.938 kB / 429.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.3178, allocations: 1.432 MB / 431 MB, free: 5.887 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.76, allocations: 10.75 kB / 431 MB, free: 5.879 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 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.mat","/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.228057208936661]