Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001261/0.001261, 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.001377/0.001377, allocations: 187.8 kB / 23.7 MB, free: 4.188 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.386/1.386, allocations: 225.7 MB / 252.5 MB, free: 12.81 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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 47.94 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2297, allocations: 52.19 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00292/0.2326, allocations: 1.682 MB / 424.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.233, allocations: 159.5 kB / 424.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.2331, allocations: 7.938 kB / 424.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.2331, allocations: 3.938 kB / 424.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2333, allocations: 19.84 kB / 424.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.2335, allocations: 35.91 kB / 424.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2336, allocations: 63.83 kB / 424.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.2337, allocations: 23.86 kB / 424.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.2337, allocations: 19.94 kB / 424.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.2338, allocations: 27.78 kB / 424.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2338, allocations: 8 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.2338, allocations: 4 kB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.2339, allocations: 19.92 kB / 424.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.2339, allocations: 23.86 kB / 424.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.234, allocations: 77.28 kB / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2341, allocations: 0 / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2341, allocations: 0 / 424.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2341, allocations: 0 / 424.8 MB, free: 12.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000514/0.2346, allocations: 313.9 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2346, allocations: 12.02 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.2347, allocations: 38.75 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2347, allocations: 20.78 kB / 425.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2349, allocations: 137.1 kB / 425.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2349, allocations: 4.375 kB / 425.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2349, allocations: 8.375 kB / 425.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.2353, allocations: 166.1 kB / 425.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2353, allocations: 11.94 kB / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2353, allocations: 0 / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2353, allocations: 0 / 425.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.2354, allocations: 43.84 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.2358, allocations: 329 kB / 425.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2361, allocations: 107.8 kB / 425.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2362, allocations: 54.67 kB / 426 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2362, allocations: 7.938 kB / 426 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2362, allocations: 46.55 kB / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2362, allocations: 0 / 426 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003211/0.2365, allocations: 117.5 kB / 426.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.2366, allocations: 114.7 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2367, allocations: 133.8 kB / 426.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2368, allocations: 29.7 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.2368, allocations: 84.14 kB / 426.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.2368, allocations: 19.88 kB / 426.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2369, allocations: 21.97 kB / 426.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.237, allocations: 326.8 kB / 426.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.459e-05/0.2371, allocations: 8 kB / 426.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.2371, allocations: 75.7 kB / 426.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2373, allocations: 91.59 kB / 427 MB, free: 9.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2373, allocations: 0 / 427 MB, free: 9.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001836/0.2375, allocations: 109.4 kB / 427.1 MB, free: 9.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2375, allocations: 8 kB / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2375, allocations: 288 / 427.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2375, allocations: 8 kB / 427.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.2376, allocations: 23.92 kB / 427.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2376, allocations: 0 / 427.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.2376, allocations: 4 kB / 427.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2376, allocations: 8 kB / 427.2 MB, free: 9.469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.678e-05/0.2377, allocations: 129.7 kB / 427.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.2379, allocations: 81.73 kB / 427.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2379, allocations: 12.72 kB / 427.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2379, allocations: 3.984 kB / 427.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2379, allocations: 11.94 kB / 427.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2379, allocations: 4 kB / 427.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2381, allocations: 152.6 kB / 427.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2381, allocations: 4 kB / 427.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.2382, allocations: 16.17 kB / 427.6 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2382, allocations: 4 kB / 427.6 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2382, allocations: 7.875 kB / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2382, allocations: 0 / 427.6 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2382, allocations: 4 kB / 427.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2386, allocations: 312.3 kB / 427.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2387, allocations: 31.83 kB / 427.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2387, allocations: 4 kB / 427.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.2388, allocations: 0 / 427.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2388, allocations: 11.92 kB / 428 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2388, allocations: 4 kB / 428 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.057e-05/0.2389, allocations: 110.4 kB / 428.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2389, allocations: 0 / 428.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.2392, allocations: 8 kB / 428.1 MB, free: 8.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0006302/0.2398, allocations: 0.8382 MB / 428.9 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.24, allocations: 59.91 kB / 429 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.24, allocations: 0 / 429 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.24, allocations: 12.56 kB / 429 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.2404, allocations: 43.94 kB / 429 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.242, allocations: 1.596 MB / 430.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.088e-05/0.2421, allocations: 83.33 kB / 430.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.2421, allocations: 12.66 kB / 430.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.2421, allocations: 19.44 kB / 430.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2421, allocations: 0 / 430.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.2692, allocations: 2.412 MB / 433.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.66, allocations: 11.78 kB / 433.2 MB, free: 3.355 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.99775822693482]