Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.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.00139/0.00139, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.001564/0.001564, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.MUX2x1,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.363, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002607/0.3656, allocations: 1.566 MB / 397.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3677, allocations: 0.9229 MB / 398.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.412e-05/0.3677, allocations: 1.156 kB / 398.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.3679, allocations: 14.38 kB / 398.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.368, allocations: 24.16 kB / 398.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.3683, allocations: 60.05 kB / 398.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.3685, allocations: 156.8 kB / 399.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3686, allocations: 20.91 kB / 399.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3697, allocations: 0.6309 MB / 399.7 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.3699, allocations: 87.84 kB / 399.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.3699, allocations: 10.78 kB / 399.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.37, allocations: 11.09 kB / 399.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3701, allocations: 77.55 kB / 399.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3702, allocations: 131.4 kB / 400 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007328/0.371, allocations: 467.6 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.371, allocations: 0 / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.371, allocations: 1.688 kB / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.371, allocations: 0 / 400.5 MB, free: 6.785 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001006/0.372, allocations: 0.7538 MB / 401.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.372, allocations: 13.36 kB / 401.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.3721, allocations: 42.84 kB / 401.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.3722, allocations: 42.2 kB / 401.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3725, allocations: 243 kB / 401.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.3725, allocations: 5.25 kB / 401.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3726, allocations: 16.75 kB / 401.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.3729, allocations: 169.2 kB / 401.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.373, allocations: 3.938 kB / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.373, allocations: 7.344 kB / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.373, allocations: 1.156 kB / 401.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3732, allocations: 80.75 kB / 401.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.3741, allocations: 476.6 kB / 402.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3744, allocations: 101.4 kB / 402.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.3746, allocations: 85.22 kB / 402.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3746, allocations: 5.094 kB / 402.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000588/0.3752, allocations: 249.1 kB / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3752, allocations: 0 / 402.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00121/0.3764, allocations: 0.6051 MB / 403.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.3765, allocations: 197.6 kB / 403.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3775, allocations: 0.5646 MB / 404.1 MB, free: 4.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.3776, allocations: 30.11 kB / 404.2 MB, free: 4.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.3777, allocations: 117.2 kB / 404.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3777, allocations: 33.47 kB / 404.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.3779, allocations: 101.2 kB / 404.4 MB, free: 4.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.378, allocations: 333.8 kB / 404.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.3782, allocations: 78.98 kB / 404.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.3784, allocations: 102.8 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.3789, allocations: 436 kB / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3789, allocations: 0 / 405.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009125/0.3798, allocations: 0.4926 MB / 405.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.3799, allocations: 153.5 kB / 406 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3799, allocations: 1.312 kB / 406 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3799, allocations: 2.047 kB / 406 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.727e-05/0.38, allocations: 8.031 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.38, allocations: 2 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.3802, allocations: 13.03 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.3804, allocations: 100.5 kB / 406.1 MB, free: 2.953 MB / 318.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: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * 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.0004756/0.3808, allocations: 401.9 kB / 406.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.3809, allocations: 47.44 kB / 406.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3811, allocations: 68.3 kB / 406.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3811, allocations: 2.062 kB / 406.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3811, allocations: 4 kB / 406.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3811, allocations: 4.5 kB / 406.6 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.3825, allocations: 0.9395 MB / 407.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3826, allocations: 0 / 407.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.3826, allocations: 0.7031 kB / 407.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3826, allocations: 1.375 kB / 407.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.3826, allocations: 22.5 kB / 407.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3826, allocations: 3.938 kB / 407.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3826, allocations: 1.984 kB / 407.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.3834, allocations: 0.6634 MB / 408.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.3838, allocations: 214.3 kB / 408.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.3839, allocations: 11.78 kB / 408.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3841, allocations: 19.83 kB / 408.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.3842, allocations: 58.19 kB / 408.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.3844, allocations: 105 kB / 408.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005525/0.3849, allocations: 420.8 kB / 409.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3849, allocations: 3.938 kB / 409.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000338/0.3853, allocations: 52.25 kB / 409.1 MB, free: 1.164 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * 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.001062/0.3863, allocations: 1.22 MB / 410.3 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006708/0.387, allocations: 478.9 kB / 410.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.387, allocations: 1.25 kB / 410.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.3875, allocations: 387.5 kB / 411.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3885, allocations: 194 kB / 411.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.3949, allocations: 3.228 MB / 414.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.3957, allocations: 0.8179 MB / 415.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.3959, allocations: 10.97 kB / 415.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.396, allocations: 45.8 kB / 415.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.396, allocations: 0 / 415.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.4444, allocations: 9.423 MB / 424.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.74, allocations: 4.047 kB / 424.9 MB, free: 5.629 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1_fmu --startTime=0 --stopTime=15 --stepSize=0.00299162 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_MUX2x1.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.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: 14.34931925102137]