Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0005824/0.0005824, 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.0003979/0.0003979, 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.3332/0.3332, 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.923e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004541/0.004561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002053/0.006613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.006828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.007008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.007218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.007734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002801/0.008014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.008216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.008515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.008632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.008672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.22e-05/0.008734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.008802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.008904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.009296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.34e-05/0.00932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.637e-06/0.009323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.394e-06/0.009331, 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.001358/0.01069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.324e-05/0.01076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.01136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.01203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.01214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.01358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.01359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.01365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.01414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.01524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.01615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.01661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.01666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.01671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=17): time 4.592e-05/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=17): time 0.001574/0.01833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/0.01854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.01903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.0191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.01933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.01936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.00022/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.01977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.01989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.02005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.000378/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.02045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.02046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.02047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.02054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.02055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.02065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.02067, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 0.0002705/0.02094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/0.02191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.02204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.02206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.02207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.02355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.02355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.02385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.02386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.02391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.02392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.02392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.02501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.0253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.02543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.02578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.02584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.02588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003119/0.02619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 7.183e-06/0.0262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001277/0.02747, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (17): * Single equations (assignments): 17 * 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.001925/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004678/0.02987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.02987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.02995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.03272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006909/0.03963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.03989, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 8.682e-05/0.03998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.04023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004462/0.04068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001697/0.04238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0008559/0.04323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01825/0.06148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 5.52e-06/0.06149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 9.818e-06/0.0615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001382/0.06164, 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,startTime=0,stopTime=0.2,tolerance=1e-06,numberOfIntervals=5019,outputFormat="mat",variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.2 -tolerance=1e-06 -stepSize=3.98486e-05 -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat",resimulateExecutable="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,startTime=0,stopTime=0.2,tolerance=1e-06,numberOfIntervals=5019,outputFormat="mat",variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.2 -tolerance=1e-06 -stepSize=3.98486e-05 -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,startTime=0,stopTime=0.2,tolerance=1e-06,numberOfIntervals=5019,outputFormat="mat",variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=0.2 -tolerance=1e-06 -stepSize=3.98486e-05 -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_cs_res.mat -s fmi3:cs",resimulateExecutable="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,hold1.y,// shiftSample1.y Variables in the result:__zc_0,hold1.bits,hold1.compDelay.resolution,hold1.compDelay.shiftCounter,hold1.compDelay.u,hold1.compDelay.y,hold1.computationalDelay,hold1.hold1.u,hold1.hold1.y,hold1.hold1.y_start,hold1.limited,hold1.limiter.u,hold1.limiter.uMax,hold1.limiter.uMin,hold1.limiter.y,hold1.quantized,hold1.resolution,hold1.shiftCounter,hold1.u,hold1.y,hold1.yMax,hold1.yMin,hold1.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.u,sample1.y,shiftSample1.resolution,shiftSample1.shiftCounter,shiftSample1.u,shiftSample1.y,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,sine.y,time [Calling sys.exit(0), Time elapsed: 1.2009154449915513]