Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001496/0.001496, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001438/0.001438, allocations: 182.6 kB / 23.72 MB, free: 4.699 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.358/1.358, allocations: 225.6 MB / 252.5 MB, free: 13 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 47.92 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 52.18 MB / 422.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002998/0.2372, allocations: 1.599 MB / 424.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009478/0.2381, allocations: 0.4987 MB / 424.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.2382, allocations: 7.875 kB / 424.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.2382, allocations: 3.938 kB / 424.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2384, allocations: 11.94 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2386, allocations: 59.75 kB / 424.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2387, allocations: 47.84 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.2388, allocations: 16.17 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.2389, allocations: 19.88 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.239, allocations: 19.86 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.239, allocations: 4 kB / 424.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.239, allocations: 4 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.239, allocations: 19.91 kB / 424.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2391, allocations: 23.81 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.2392, allocations: 59.11 kB / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2392, allocations: 0 / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2392, allocations: 0 / 425 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2392, allocations: 4 kB / 425 MB, free: 12.14 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.0004433/0.2396, allocations: 307 kB / 425.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2397, allocations: 8.031 kB / 425.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.2397, allocations: 38.67 kB / 425.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.2397, allocations: 8.891 kB / 425.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.24, allocations: 149.2 kB / 425.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.24, allocations: 4.375 kB / 425.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.24, allocations: 8.375 kB / 425.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.2403, allocations: 113.8 kB / 425.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2403, allocations: 3.984 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2403, allocations: 4 kB / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2403, allocations: 0 / 425.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.2404, allocations: 27.92 kB / 425.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.2407, allocations: 241.7 kB / 425.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2408, allocations: 71.78 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.794e-05/0.2409, allocations: 34.58 kB / 426 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2409, allocations: 3.984 kB / 426 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.241, allocations: 34.5 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.241, allocations: 4 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002993/0.2413, allocations: 85.56 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.2413, allocations: 106.8 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2415, allocations: 141.8 kB / 426.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2415, allocations: 25.7 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2416, allocations: 96.45 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2416, allocations: 7.953 kB / 426.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2416, allocations: 21.7 kB / 426.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2418, allocations: 318.8 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.2418, allocations: 15.92 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.2418, allocations: 27.44 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.2419, allocations: 51.36 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2419, allocations: 0 / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.2421, allocations: 73.56 kB / 427 MB, free: 9.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2421, allocations: 8.125 kB / 427 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2421, allocations: 4 kB / 427 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2421, allocations: 0 / 427 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.2422, allocations: 11.98 kB / 427 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.547e-06/0.2422, allocations: 7.938 kB / 427.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.2423, allocations: 0 / 427.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2423, allocations: 8 kB / 427.1 MB, free: 9.84 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 9.418e-05/0.2424, allocations: 121.8 kB / 427.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.2424, allocations: 53.62 kB / 427.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.2425, allocations: 11.95 kB / 427.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2425, allocations: 4 kB / 427.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2425, allocations: 0 / 427.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2425, allocations: 0 / 427.2 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.2427, allocations: 148.7 kB / 427.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2427, allocations: 0 / 427.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.2427, allocations: 11.98 kB / 427.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2427, allocations: 0 / 427.4 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2427, allocations: 4 kB / 427.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2427, allocations: 0 / 427.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2427, allocations: 7.969 kB / 427.4 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.2429, allocations: 177.1 kB / 427.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.243, allocations: 19.94 kB / 427.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.243, allocations: 0 / 427.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.2431, allocations: 4 kB / 427.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.2431, allocations: 4 kB / 427.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2431, allocations: 11.98 kB / 427.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.282e-05/0.2432, allocations: 106.2 kB / 427.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2432, allocations: 0 / 427.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000223/0.2434, allocations: 4 kB / 427.7 MB, free: 9.082 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 (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.0005025/0.2439, allocations: 0.714 MB / 428.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001414/0.2441, allocations: 36.11 kB / 428.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2441, allocations: 0 / 428.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.2441, allocations: 15.98 kB / 428.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2445, allocations: 31.64 kB / 428.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2459, allocations: 1.399 MB / 429.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2463, allocations: 0.6922 MB / 430.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.2463, allocations: 4 kB / 430.6 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.2463, allocations: 19.42 kB / 430.6 MB, free: 6.008 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2463, allocations: 4 kB / 430.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.273, allocations: 1.781 MB / 432.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.79, allocations: 8 kB / 432.4 MB, free: 4.348 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 13.030200992943719]