Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0008652/0.0008652, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008476/0.0008476, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8907/0.8907, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 318.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.773e-05, allocations: 2.281 kB / 318.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002253/0.002271, allocations: 1.551 MB / 320 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006304/0.002901, allocations: 450.8 kB / 320.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.274e-05/0.002984, allocations: 0 / 320.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.003032, allocations: 7.922 kB / 320.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.003175, allocations: 11.88 kB / 320.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.00339, allocations: 43.77 kB / 320.5 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.988e-05/0.00348, allocations: 39.84 kB / 320.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.003567, allocations: 15.98 kB / 320.5 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.003627, allocations: 23.91 kB / 320.6 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.003671, allocations: 11.98 kB / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.003691, allocations: 0 / 320.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.0037, allocations: 4 kB / 320.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.003746, allocations: 15.92 kB / 320.6 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.003768, allocations: 11.94 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.711e-05/0.003865, allocations: 51.73 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003868, allocations: 4 kB / 320.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003869, allocations: 0 / 320.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003873, allocations: 4 kB / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003362/0.004209, allocations: 293.3 kB / 321 MB, free: 3.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.004246, allocations: 8.922 kB / 321 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.004274, allocations: 38.75 kB / 321 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.004296, allocations: 8.891 kB / 321 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.004455, allocations: 133.6 kB / 321.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.004462, allocations: 4.375 kB / 321.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.004471, allocations: 4.375 kB / 321.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.00465, allocations: 89.61 kB / 321.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.004657, allocations: 192 / 321.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.004667, allocations: 8.125 kB / 321.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004673, allocations: 4 kB / 321.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.004719, allocations: 15.92 kB / 321.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.004953, allocations: 228.8 kB / 321.5 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.005014, allocations: 45.14 kB / 321.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.005042, allocations: 25.72 kB / 321.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.005058, allocations: 4 kB / 321.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.005076, allocations: 30.56 kB / 321.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.005077, allocations: 0 / 321.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.005236, allocations: 73.56 kB / 321.7 MB, free: 2.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.005276, allocations: 77.11 kB / 321.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.905e-05/0.005355, allocations: 140.5 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.005363, allocations: 25.7 kB / 321.9 MB, free: 2.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.0054, allocations: 92.39 kB / 322 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.00541, allocations: 4 kB / 322 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.005434, allocations: 17.67 kB / 322 MB, free: 2.527 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.005506, allocations: 318.8 kB / 322.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.005527, allocations: 7.938 kB / 322.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.005542, allocations: 7.984 kB / 322.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.005581, allocations: 24.84 kB / 322.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005582, allocations: 3.938 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.85e-05/0.00564, allocations: 49.69 kB / 322.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005651, allocations: 4 kB / 322.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005656, allocations: 4 kB / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005666, allocations: 0 / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.005712, allocations: 0 / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005716, allocations: 0 / 322.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.005734, allocations: 11.98 kB / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005739, allocations: 0 / 322.4 MB, free: 2.086 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.726e-05/0.005796, allocations: 113.8 kB / 322.6 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.00583, allocations: 53.61 kB / 322.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.00585, allocations: 7.812 kB / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.005851, allocations: 0 / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005855, allocations: 0 / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005857, allocations: 0 / 322.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.897e-05/0.005956, allocations: 140.7 kB / 322.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005957, allocations: 0 / 322.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.005978, allocations: 11.98 kB / 322.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.00598, allocations: 3.984 kB / 322.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005985, allocations: 3.938 kB / 322.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.005987, allocations: 4 kB / 322.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005987, allocations: 4.031 kB / 322.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.983e-05/0.006077, allocations: 164.2 kB / 322.9 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.006102, allocations: 11.95 kB / 322.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006114, allocations: 3.984 kB / 323 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.282e-05/0.006146, allocations: 4 kB / 323 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.006171, allocations: 0 / 323 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.006174, allocations: 4 kB / 323 MB, free: 1.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.006221, allocations: 111.2 kB / 323.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006221, allocations: 0 / 323.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001437/0.006365, allocations: 11.97 kB / 323.1 MB, free: 1.367 MB / 282.7 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.0002381/0.006603, allocations: 0.6936 MB / 323.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.634e-05/0.00668, allocations: 19.98 kB / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.006681, allocations: 0 / 323.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.006698, allocations: 4 kB / 323.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.006926, allocations: 18.36 kB / 323.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.007678, allocations: 1.278 MB / 325.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.007731, allocations: 75.27 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.007753, allocations: 4 kB / 325.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.007786, allocations: 16.5 kB / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007787, allocations: 0 / 325.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02164, allocations: 2.132 MB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.796, allocations: 7.922 kB / 327.3 MB, free: 13.11 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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: 8.463235815055668]