Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 207 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.91 kB / 377.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003232/0.2546, allocations: 1.841 MB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.256, allocations: 0.7049 MB / 433.6 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2561, allocations: 7.938 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.2562, allocations: 23.8 kB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.2564, allocations: 23.8 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.257, allocations: 175.5 kB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.2572, allocations: 143.6 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2573, allocations: 41.7 kB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.2575, allocations: 67.72 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2576, allocations: 63.64 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.2576, allocations: 12 kB / 434.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2577, allocations: 63.94 kB / 434.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.2578, allocations: 39.84 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.226e-05/0.2579, allocations: 55.61 kB / 434.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.2582, allocations: 208.8 kB / 434.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.2582, allocations: 7.984 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2582, allocations: 0 / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2582, allocations: 0 / 434.5 MB, free: 3.141 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007249/0.2589, allocations: 401.6 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.259, allocations: 12.03 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.966e-05/0.259, allocations: 42.73 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2592, allocations: 28.8 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.2595, allocations: 191.5 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2595, allocations: 8.562 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2596, allocations: 11.94 kB / 435.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2606, allocations: 358.5 kB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2606, allocations: 0 / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2607, allocations: 11.94 kB / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2607, allocations: 0 / 435.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.261, allocations: 83.94 kB / 435.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.2616, allocations: 288.7 kB / 436 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.2623, allocations: 184.9 kB / 436.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.2626, allocations: 93.73 kB / 436.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.2632, allocations: 64.2 kB / 436.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2632, allocations: 38.5 kB / 436.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.913e-06/0.2632, allocations: 0 / 436.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009247/0.2641, allocations: 249.2 kB / 436.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.2643, allocations: 113.5 kB / 436.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.2645, allocations: 190.6 kB / 436.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.2646, allocations: 29.7 kB / 436.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2647, allocations: 104.6 kB / 437 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.2647, allocations: 23.83 kB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.2648, allocations: 37.7 kB / 437.1 MB, free: 416 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.265, allocations: 330.8 kB / 437.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.2651, allocations: 36.09 kB / 437.4 MB, free: 40 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.2654, allocations: 198.8 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.2658, allocations: 200.1 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.2658, allocations: 4 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005595/0.2664, allocations: 213.1 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2664, allocations: 8 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2664, allocations: 4.594 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.2665, allocations: 12 kB / 438 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2667, allocations: 47.91 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2667, allocations: 7.938 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2668, allocations: 19.89 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2668, allocations: 12 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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 0.0001559/0.267, allocations: 151.3 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.2673, allocations: 169.4 kB / 438.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.2678, allocations: 189.9 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.2678, allocations: 0 / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2679, allocations: 0 / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2679, allocations: 4 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.2682, allocations: 180.5 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2682, allocations: 0 / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.2684, allocations: 31.97 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2684, allocations: 0 / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2684, allocations: 8 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2684, allocations: 0 / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2684, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.269, allocations: 292 kB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.2692, allocations: 39.81 kB / 439.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.2692, allocations: 8 kB / 439.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2693, allocations: 11.98 kB / 439.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2694, allocations: 4 kB / 439.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2694, allocations: 4 kB / 439.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.2696, allocations: 152 kB / 439.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2696, allocations: 7.938 kB / 439.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005692/0.2701, allocations: 31.98 kB / 439.4 MB, free: 13.85 MB / 350.1 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.001262/0.2714, allocations: 0.9256 MB / 440.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.2719, allocations: 144 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2719, allocations: 0 / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.2719, allocations: 4 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.2728, allocations: 144.3 kB / 440.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/0.2764, allocations: 2.172 MB / 442.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2766, allocations: 123.5 kB / 442.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.618e-05/0.2767, allocations: 17.48 kB / 442.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2768, allocations: 47.42 kB / 443 MB, free: 10.04 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2768, allocations: 0 / 443 MB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.3146, allocations: 5.052 MB / 448 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.97, allocations: 11.92 kB / 448 MB, free: 5.141 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 13.382238507998409]