Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001256/0.001256, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001375/0.001375, allocations: 209.2 kB / 23.73 MB, free: 4.523 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.793 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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2766, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003229/0.2798, allocations: 1.514 MB / 432.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003933/0.2802, allocations: 131.5 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.2803, allocations: 11.94 kB / 432.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.2803, allocations: 3.938 kB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.2804, allocations: 7.938 kB / 432.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2807, allocations: 39.89 kB / 432.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.763e-05/0.2808, allocations: 23.92 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.2808, allocations: 11.8 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.2809, allocations: 11.92 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.2809, allocations: 11.94 kB / 432.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2809, allocations: 4 kB / 432.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.2809, allocations: 3.938 kB / 432.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.281, allocations: 23.91 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.281, allocations: 11.88 kB / 432.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.759e-05/0.2811, allocations: 35.84 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2811, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2811, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.2811, allocations: 0 / 432.9 MB, free: 4.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004071/0.2815, allocations: 284 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2816, allocations: 12.03 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.2816, allocations: 30.75 kB / 433.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.2816, allocations: 8.891 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2819, allocations: 138.4 kB / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2819, allocations: 384 / 433.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2819, allocations: 4.375 kB / 433.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.2821, allocations: 89.61 kB / 433.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2821, allocations: 7.922 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.2821, allocations: 0 / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2821, allocations: 0 / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.2822, allocations: 11.94 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.2825, allocations: 232.9 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.2826, allocations: 49.08 kB / 433.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.2826, allocations: 17.78 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2826, allocations: 0 / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2826, allocations: 34.5 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2826, allocations: 4 kB / 433.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001947/0.2828, allocations: 57.58 kB / 433.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.2829, allocations: 77.36 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.283, allocations: 133.8 kB / 434.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.283, allocations: 25.7 kB / 434.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.2831, allocations: 92.12 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.2831, allocations: 3.953 kB / 434.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.2831, allocations: 17.72 kB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2832, allocations: 318.7 kB / 434.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.2833, allocations: 7.984 kB / 434.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.2833, allocations: 17.72 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.2833, allocations: 21.78 kB / 434.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2833, allocations: 7.938 kB / 434.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.77e-05/0.2834, allocations: 49.62 kB / 434.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2834, allocations: 8 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2835, allocations: 0 / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2835, allocations: 0 / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.5e-05/0.2835, allocations: 3.984 kB / 434.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2835, allocations: 4 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.2835, allocations: 0 / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2835, allocations: 4.062 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.353e-05/0.2836, allocations: 117.8 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.2837, allocations: 45.58 kB / 434.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.2837, allocations: 15.42 kB / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2837, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2837, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2837, allocations: 0 / 434.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.2838, allocations: 132.7 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2839, allocations: 4 kB / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.2839, allocations: 0 / 435 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2839, allocations: 4.031 kB / 435 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2839, allocations: 3.984 kB / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2839, allocations: 0 / 435 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2839, allocations: 4 kB / 435 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.284, allocations: 160.2 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.284, allocations: 11.89 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2841, allocations: 4 kB / 435.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.2841, allocations: 7.984 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.2841, allocations: 0 / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2841, allocations: 0 / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.2842, allocations: 110.6 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2842, allocations: 0 / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.2844, allocations: 8 kB / 435.3 MB, free: 2.129 MB / 334.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: 2 (sample1.u,sample1.y) * 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.0004613/0.2849, allocations: 0.6781 MB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.285, allocations: 15.94 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.285, allocations: 0 / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.285, allocations: 8.141 kB / 436 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2853, allocations: 20.03 kB / 436 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2864, allocations: 1.252 MB / 437.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.2865, allocations: 67.33 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.2865, allocations: 4 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2866, allocations: 11.53 kB / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2866, allocations: 0 / 437.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3136, allocations: 1.918 MB / 439.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.56, allocations: 11.94 kB / 439.3 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 12.87951405000058]