Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001817/0.001817, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.002013/0.002013, allocations: 186 kB / 23.71 MB, free: 4.434 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.361/1.361, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 55.89 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2327, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002951/0.2356, allocations: 1.614 MB / 424.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009782/0.2366, allocations: 482.7 kB / 424.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.2367, allocations: 7.938 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.2367, allocations: 3.938 kB / 424.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2369, allocations: 23.84 kB / 424.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2372, allocations: 55.77 kB / 424.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2373, allocations: 59.78 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2374, allocations: 15.92 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.2375, allocations: 35.78 kB / 424.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.2375, allocations: 23.86 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2375, allocations: 4 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.2376, allocations: 4 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.2376, allocations: 11.94 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.2376, allocations: 31.8 kB / 424.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.2378, allocations: 65.36 kB / 425 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2378, allocations: 0 / 425 MB, free: 11.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2378, allocations: 0 / 425 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2378, allocations: 0 / 425 MB, free: 11.94 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004966/0.2383, allocations: 321.8 kB / 425.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2383, allocations: 8.031 kB / 425.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2384, allocations: 38.69 kB / 425.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.2384, allocations: 8.891 kB / 425.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.2386, allocations: 158.2 kB / 425.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2386, allocations: 8.375 kB / 425.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.2387, allocations: 384 / 425.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.2389, allocations: 138.9 kB / 425.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.239, allocations: 3.938 kB / 425.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.239, allocations: 4 kB / 425.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.239, allocations: 0 / 425.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.2391, allocations: 35.91 kB / 425.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.2394, allocations: 250.5 kB / 426 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2395, allocations: 86.42 kB / 426 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.2396, allocations: 47.48 kB / 426.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.2396, allocations: 11.91 kB / 426.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2396, allocations: 38.56 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2396, allocations: 4 kB / 426.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002681/0.2399, allocations: 97.5 kB / 426.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.24, allocations: 132.5 kB / 426.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2401, allocations: 149.9 kB / 426.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2402, allocations: 33.64 kB / 426.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.2402, allocations: 92.12 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.2402, allocations: 8.453 kB / 426.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2403, allocations: 17.72 kB / 426.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2404, allocations: 330.8 kB / 427 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.2404, allocations: 11.98 kB / 427 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.2405, allocations: 53.08 kB / 427 MB, free: 9.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.2406, allocations: 61.08 kB / 427.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2406, allocations: 4 kB / 427.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001536/0.2408, allocations: 85.5 kB / 427.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2408, allocations: 8 kB / 427.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2408, allocations: 3.984 kB / 427.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2408, allocations: 4 kB / 427.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.2409, allocations: 8 kB / 427.2 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.2409, allocations: 8.062 kB / 427.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.2409, allocations: 16.17 kB / 427.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.241, allocations: 0 / 427.2 MB, free: 9.391 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.1e-05/0.241, allocations: 125.7 kB / 427.4 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2411, allocations: 69.53 kB / 427.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.2412, allocations: 15.95 kB / 427.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2412, allocations: 4 kB / 427.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2412, allocations: 0 / 427.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2412, allocations: 0 / 427.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.2414, allocations: 144.7 kB / 427.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2414, allocations: 8.094 kB / 427.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.2414, allocations: 8 kB / 427.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2414, allocations: 4 kB / 427.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2414, allocations: 7.984 kB / 427.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2415, allocations: 3.938 kB / 427.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2415, allocations: 4 kB / 427.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.2417, allocations: 190 kB / 427.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.2417, allocations: 23.88 kB / 427.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2417, allocations: 0 / 427.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.2418, allocations: 12 kB / 427.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.2418, allocations: 0 / 427.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2418, allocations: 4 kB / 427.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.538e-05/0.2419, allocations: 118 kB / 428 MB, free: 8.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2419, allocations: 0 / 428 MB, free: 8.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2422, allocations: 15.95 kB / 428 MB, free: 8.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004931/0.2427, allocations: 0.7266 MB / 428.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.2428, allocations: 51.86 kB / 428.8 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2428, allocations: 4 kB / 428.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.2428, allocations: 7.984 kB / 428.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2432, allocations: 36.16 kB / 428.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2447, allocations: 1.493 MB / 430.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.2448, allocations: 87.17 kB / 430.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2448, allocations: 8.609 kB / 430.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.2448, allocations: 27.42 kB / 430.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2448, allocations: 0 / 430.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.272, allocations: 2.63 MB / 433 MB, free: 3.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.8, allocations: 4 kB / 433.1 MB, free: 3.457 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.077065602876246]