Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000867/0.000867, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009157/0.0009157, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9061/0.9061, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.604e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002323/0.002339, allocations: 1.85 MB / 326.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.003201, allocations: 0.7009 MB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.003293, allocations: 11.94 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003415, allocations: 19.8 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.003558, allocations: 27.78 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.003944, allocations: 171.4 kB / 327.3 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004106, allocations: 151.6 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.004218, allocations: 37.77 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.00435, allocations: 95.67 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.004431, allocations: 39.89 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.004455, allocations: 16 kB / 327.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.004531, allocations: 51.95 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.004599, allocations: 39.84 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.004644, allocations: 47.78 kB / 327.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.004856, allocations: 215.3 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004857, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.004859, allocations: 4 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004863, allocations: 0 / 328 MB, free: 12.39 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004785/0.005341, allocations: 405.6 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.005381, allocations: 11.98 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.005413, allocations: 38.75 kB / 328.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.005506, allocations: 40.72 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.005728, allocations: 193.7 kB / 328.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005741, allocations: 8.562 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.005754, allocations: 12.38 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.006175, allocations: 356.2 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.006184, allocations: 3.984 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.006195, allocations: 8 kB / 329 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.006202, allocations: 4 kB / 329 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.00633, allocations: 83.88 kB / 329.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.006611, allocations: 288.7 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.006883, allocations: 177 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.006986, allocations: 97.73 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.007197, allocations: 59.94 kB / 329.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.007218, allocations: 42.77 kB / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.007219, allocations: 0 / 329.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003415/0.00756, allocations: 240.3 kB / 330 MB, free: 10.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.007624, allocations: 110.8 kB / 330.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.00775, allocations: 198.8 kB / 330.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.007769, allocations: 29.7 kB / 330.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.007815, allocations: 104.6 kB / 330.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.00783, allocations: 7.953 kB / 330.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.007863, allocations: 29.66 kB / 330.5 MB, free: 9.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.007933, allocations: 322.8 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.007968, allocations: 28.11 kB / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.008025, allocations: 97.89 kB / 330.9 MB, free: 9.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.008094, allocations: 71.34 kB / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008096, allocations: 0 / 331 MB, free: 9.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.008202, allocations: 109.6 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.008213, allocations: 7.984 kB / 331.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008217, allocations: 3.938 kB / 331.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.008227, allocations: 4 kB / 331.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.008273, allocations: 12 kB / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008278, allocations: 0 / 331.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.008316, allocations: 19.81 kB / 331.1 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.008322, allocations: 4 kB / 331.2 MB, free: 8.953 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.086e-05/0.008403, allocations: 134.6 kB / 331.3 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.008563, allocations: 165.5 kB / 331.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.008766, allocations: 175.6 kB / 331.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008768, allocations: 3.938 kB / 331.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.008771, allocations: 0 / 331.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.008775, allocations: 7.938 kB / 331.6 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.008906, allocations: 176.6 kB / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.00891, allocations: 0 / 331.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.008981, allocations: 39.91 kB / 331.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.008982, allocations: 4 kB / 331.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.008992, allocations: 4 kB / 331.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008993, allocations: 3.984 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008994, allocations: 0 / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.009454, allocations: 288.1 kB / 332.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.009505, allocations: 43.77 kB / 332.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.009527, allocations: 11.98 kB / 332.2 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.009589, allocations: 12 kB / 332.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.009614, allocations: 3.984 kB / 332.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.009629, allocations: 15.92 kB / 332.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.705e-05/0.009706, allocations: 144.2 kB / 332.4 MB, free: 7.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009706, allocations: 0 / 332.4 MB, free: 7.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001668/0.009873, allocations: 31.94 kB / 332.4 MB, free: 7.637 MB / 298.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005404/0.01041, allocations: 0.9097 MB / 333.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.01059, allocations: 99.86 kB / 333.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01059, allocations: 0 / 333.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.01061, allocations: 15.92 kB / 333.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.01098, allocations: 141.6 kB / 333.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.01221, allocations: 1.831 MB / 335.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.99e-05/0.01229, allocations: 127.6 kB / 335.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.01233, allocations: 13.09 kB / 335.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.01238, allocations: 48.47 kB / 335.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01238, allocations: 0 / 335.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.03352, allocations: 4.964 MB / 340.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/6.64, allocations: 4.875 kB / 340.5 MB, free: 15.44 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.327969757840037]