Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004245/0.0004245, allocations: 0 / 0, free: 0 / 0 " [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.0003828/0.0003828, allocations: 0 / 0, free: 0 / 0 " [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 0.3361/0.3361, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.01849/0.01849, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) 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_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.639e-06/4.639e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.407e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse): time 0.00705/0.007074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001204/0.008278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.008514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.00883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.009025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.009473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0004978/0.009971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.01064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.01093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.01117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.01138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.01161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008615/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.974e-05/0.01252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.968e-06/0.01253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.639e-06/0.01254, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002216/0.01475, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001005/0.01485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.01646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.01651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.01663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.01818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.0182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.01828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.01934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.02212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.02521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.02576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.02581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000901/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=41): time 5.291e-05/0.02676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=41): time 0.002547/0.02931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.02945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/0.0302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.03039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.03061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005668/0.03145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002964/0.03174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009467/0.03269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.03393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.03628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/0.0363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=72) (initialization): time 0.003374/0.03967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.03972, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/0.03976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.04049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/0.04052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.04096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.0411, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 45 (spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[1],$PRE.spaceMouseInput.buttons[1],$whenCondition1,spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[1],$PRE.spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0008452/0.04195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.04216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.04238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.04239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.0424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.04242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.04363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.04365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.04401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/0.0441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.04411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.04411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.0468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.04706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.04725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.04746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.04766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.04773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004636/0.04819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.267e-06/0.0482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001523/0.04972, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y) * Number of discrete variables: 23 ($whenCondition1,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * 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.00378/0.0535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001919/0.05542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.05543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.05609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.05754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.07235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003712/0.07337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.07415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004924/0.07464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.00459/0.07923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.04853/0.1278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.08986/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.562e-06/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.44e-05/0.2176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0006094/0.2182, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=5 -tolerance=1e-06 -stepSize=0.002 -noemit",resimulateExecutable="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.fmu") [Timeout 240] OMC exited with status 134 while running: simulate(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=5 -tolerance=1e-06 -stepSize=0.002 -noemit",resimulateExecutable="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestInputSpaceMouse.fmu") Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.58b0efee1ea043deb4dac8c91e09efabAborted (core dumped) [Calling os._exit(0), Time elapsed: 3.285515450988896]