Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.00131/0.00131, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001327/0.001327, allocations: 191.2 kB / 23.7 MB, free: 4.191 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.34/1.34, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 43.92 kB / 370.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2235, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002885/0.2264, allocations: 1.556 MB / 424.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.2272, allocations: 474.8 kB / 424.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.2273, allocations: 3.938 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.2274, allocations: 3.938 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2275, allocations: 7.938 kB / 424.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.2277, allocations: 62.73 kB / 424.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2278, allocations: 47.84 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.2279, allocations: 8 kB / 424.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.228, allocations: 23.86 kB / 424.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.2281, allocations: 23.84 kB / 424.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2281, allocations: 4 kB / 424.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.2281, allocations: 8 kB / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.2281, allocations: 15.98 kB / 424.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2282, allocations: 19.81 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.2283, allocations: 57.42 kB / 424.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2283, allocations: 0 / 424.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2283, allocations: 0 / 424.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2283, allocations: 0 / 424.9 MB, free: 12.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004475/0.2287, allocations: 302 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2288, allocations: 8.031 kB / 425.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2288, allocations: 34.75 kB / 425.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.2288, allocations: 12.89 kB / 425.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2291, allocations: 150.3 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2291, allocations: 384 / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2291, allocations: 4.375 kB / 425.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.2294, allocations: 105.2 kB / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2294, allocations: 0 / 425.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.2294, allocations: 4 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2294, allocations: 4 kB / 425.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.2294, allocations: 19.92 kB / 425.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.2297, allocations: 232.8 kB / 425.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.2298, allocations: 49.14 kB / 425.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.2299, allocations: 17.78 kB / 425.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2299, allocations: 4 kB / 425.8 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2299, allocations: 30.56 kB / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2299, allocations: 0 / 425.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002234/0.2302, allocations: 73.61 kB / 425.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2302, allocations: 77.11 kB / 426 MB, free: 10.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2304, allocations: 144.7 kB / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2304, allocations: 33.64 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2304, allocations: 84.14 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.2305, allocations: 4 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2305, allocations: 21.66 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2306, allocations: 322.8 kB / 426.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/0.2307, allocations: 8.25 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.083e-05/0.2307, allocations: 21.64 kB / 426.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.2308, allocations: 33.64 kB / 426.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2308, allocations: 0 / 426.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.2309, allocations: 53.62 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2309, allocations: 8 kB / 426.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2309, allocations: 4.125 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.231, allocations: 3.984 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.231, allocations: 4 kB / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.231, allocations: 0 / 426.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.2311, allocations: 4 kB / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2311, allocations: 0 / 426.7 MB, free: 10.03 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.672e-05/0.2312, allocations: 129.7 kB / 426.8 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.2312, allocations: 37.66 kB / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.2313, allocations: 7.812 kB / 426.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2313, allocations: 3.984 kB / 426.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2313, allocations: 4.031 kB / 426.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2313, allocations: 4 kB / 426.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2314, allocations: 140.6 kB / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2315, allocations: 0 / 427 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.2315, allocations: 7.984 kB / 427 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2315, allocations: 4 kB / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2315, allocations: 0 / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2315, allocations: 0 / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2315, allocations: 0 / 427 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2317, allocations: 164.3 kB / 427.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.2317, allocations: 15.94 kB / 427.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2317, allocations: 0 / 427.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.2318, allocations: 0 / 427.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2318, allocations: 11.98 kB / 427.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2318, allocations: 0 / 427.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.2319, allocations: 107.2 kB / 427.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2319, allocations: 0 / 427.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002126/0.2322, allocations: 4 kB / 427.3 MB, free: 9.324 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 (2): * Single equations (assignments): 2 * 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.0005384/0.2327, allocations: 0.6937 MB / 428 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.2328, allocations: 31.86 kB / 428 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2328, allocations: 0 / 428 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.2329, allocations: 11.92 kB / 428.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2332, allocations: 27.44 kB / 428.1 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2346, allocations: 1.316 MB / 429.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.726e-05/0.2346, allocations: 75.19 kB / 429.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.2347, allocations: 4 kB / 429.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.2347, allocations: 19.42 kB / 429.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2347, allocations: 4 kB / 429.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.2623, allocations: 2.083 MB / 431.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.7, allocations: 2.406 kB / 431.6 MB, free: 5.066 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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: 12.90969075402245]