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.001791/0.001791, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002154/0.002154, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.582/1.582, allocations: 230.5 MB / 258.2 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 378.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 53.4 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002989/0.3203, allocations: 1.584 MB / 433.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3214, allocations: 0.5026 MB / 434 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.3214, allocations: 3.938 kB / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.3215, allocations: 7.922 kB / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3216, allocations: 11.94 kB / 434 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.3219, allocations: 51.81 kB / 434.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.322, allocations: 47.8 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.322, allocations: 15.98 kB / 434.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3221, allocations: 27.92 kB / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.3222, allocations: 23.8 kB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3222, allocations: 4 kB / 434.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.3223, allocations: 7.984 kB / 434.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.3223, allocations: 11.94 kB / 434.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3224, allocations: 23.86 kB / 434.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.3225, allocations: 57.44 kB / 434.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3225, allocations: 4 kB / 434.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3225, allocations: 0 / 434.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3225, allocations: 7.875 kB / 434.3 MB, free: 4.094 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.0005699/0.3231, allocations: 309.9 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3232, allocations: 8.031 kB / 434.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.3232, allocations: 4.188 kB / 434.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.3232, allocations: 34.75 kB / 434.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.3234, allocations: 16.88 kB / 434.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.3237, allocations: 138.4 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3237, allocations: 12.38 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3237, allocations: 4.375 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.324, allocations: 113 kB / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.324, allocations: 0 / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.324, allocations: 0 / 434.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3241, allocations: 8 kB / 434.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.3241, allocations: 27.91 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.3245, allocations: 232.8 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3247, allocations: 65.12 kB / 435.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.3248, allocations: 25.78 kB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3248, allocations: 0 / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3249, allocations: 38.55 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3249, allocations: 0 / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002842/0.3252, allocations: 85.56 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.3252, allocations: 77.11 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3254, allocations: 144.9 kB / 435.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3254, allocations: 25.7 kB / 435.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.3254, allocations: 84.14 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3255, allocations: 15.89 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3255, allocations: 13.72 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3256, allocations: 322.8 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.3257, allocations: 8.125 kB / 436.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.3258, allocations: 43.36 kB / 436.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.3258, allocations: 43.36 kB / 436.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3258, allocations: 4 kB / 436.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.326, allocations: 69.66 kB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.326, allocations: 12.03 kB / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.326, allocations: 0 / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.326, allocations: 0 / 436.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.3261, allocations: 15.92 kB / 436.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3261, allocations: 4 kB / 436.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.3261, allocations: 0 / 436.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3262, allocations: 4 kB / 436.3 MB, free: 1.875 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.0001026/0.3263, allocations: 121.7 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.524e-05/0.3264, allocations: 49.64 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.3264, allocations: 16.33 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3264, allocations: 4 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3264, allocations: 0 / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3264, allocations: 4 kB / 436.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3266, allocations: 136.7 kB / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3266, allocations: 0 / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.3266, allocations: 11.98 kB / 436.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3266, allocations: 0 / 436.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3267, allocations: 4 kB / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3267, allocations: 0 / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3267, allocations: 0 / 436.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3269, allocations: 176.5 kB / 436.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.3269, allocations: 19.94 kB / 436.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3269, allocations: 4 kB / 436.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.327, allocations: 4.047 kB / 436.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.327, allocations: 3.984 kB / 436.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.327, allocations: 3.984 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.3271, allocations: 114 kB / 436.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3271, allocations: 0 / 436.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3273, allocations: 7.938 kB / 436.9 MB, free: 1.125 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.000509/0.3279, allocations: 0.7131 MB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.328, allocations: 31.92 kB / 437.7 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.328, allocations: 0 / 437.7 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.328, allocations: 7.984 kB / 437.7 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3284, allocations: 20.03 kB / 437.7 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3299, allocations: 1.378 MB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.3299, allocations: 75.33 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.707e-05/0.33, allocations: 7.984 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.33, allocations: 15.38 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.33, allocations: 0 / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3528, allocations: 1.775 MB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.09, allocations: 14.72 kB / 441 MB, free: 13.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:assignClock.u,assignClock.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 13.836449655005708]