Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.0004677/0.0004677, 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.0003998/0.0003998, 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.3416/0.3416, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.841e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004045/0.004064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01178/0.01585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.01683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.01713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00903/0.02616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006264/0.02679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.0269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.02738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.02764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.0277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.02839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.02856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.02874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0009431/0.02968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.232e-05/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.88e-06/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.598e-06/0.02974, 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001841/0.03158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.856e-05/0.03166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.03183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.0321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.03298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.03301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.03314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.03415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.03419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.03425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.03426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.03477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.03682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.03762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.0379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.03792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.03797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=13): time 4.83e-05/0.03802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=13): time 0.001325/0.03934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/0.03958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/0.04046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.04057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.04091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.04101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.04136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002724/0.04163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.04213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008191/0.04295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.04402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.04403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=31) (initialization): time 0.00167/0.0457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.04573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/0.04577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.04579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.04631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.04631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.04654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.04661, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.000485/0.0471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.04736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.04753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.04754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.04754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.04755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.05204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.05205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.0525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.05251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-05/0.0526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.0526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.05261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.05432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.05461, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.05484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.05521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.05539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.05544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0006681/0.0561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.533e-05/0.05612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001754/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.003147/0.06102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001355/0.06237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.06239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.06277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.06509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.07784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.0783, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000295/0.0786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.07927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005726/0.07985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.00343/0.08328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001915/0.08519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03745/0.1226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.011e-06/0.1227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.095e-05/0.1227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.0001609/0.1228, 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.Blocks.Examples.FilterWithRiseTime,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.00079952 -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat",resimulateExecutable="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Blocks.Examples.FilterWithRiseTime,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.00079952 -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Blocks.Examples.FilterWithRiseTime,startTime=0,stopTime=4,tolerance=1e-06,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=4 -tolerance=1e-06 -stepSize=0.00079952 -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_cs.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: 1.337781036971137]