Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.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.0007861/0.0007861, allocations: 68.27 kB / 9.883 MB, free: 0.8164 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009782/0.001764, allocations: 449.6 kB / 10.32 MB, free: 388 kB / 10.45 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.0006715/0.0006715, allocations: 149.9 kB / 11.2 MB, free: 2.977 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001512, allocations: 480.2 kB / 11.67 MB, free: 2.504 MB / 13.93 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.071/1.071, allocations: 158.6 MB / 171 MB, free: 2.598 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2048/1.276, allocations: 49.49 MB / 220.5 MB, free: 1.473 MB / 218.7 MB " [Timeout remaining time 179] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.StateGraph.Examples.FirstExample,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 3.984 kB / 221.7 MB, free: 276 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/3.099e-05, allocations: 2.312 kB / 221.7 MB, free: 272 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.002861/0.002892, allocations: 1.534 MB / 223.2 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.003534, allocations: 255.1 kB / 223.5 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003649, allocations: 7.938 kB / 223.5 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.208e-05/0.003741, allocations: 23.73 kB / 223.5 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.003798, allocations: 11.81 kB / 223.5 MB, free: 14.42 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.004214, allocations: 127.7 kB / 223.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.004565, allocations: 259.5 kB / 223.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.004859, allocations: 151.4 kB / 224.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005028, allocations: 127.8 kB / 224.2 MB, free: 13.77 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.005166, allocations: 59.84 kB / 224.2 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.005207, allocations: 27.94 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.005315, allocations: 43.91 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.005376, allocations: 35.94 kB / 224.3 MB, free: 13.61 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.542e-05/0.005442, allocations: 47.88 kB / 224.4 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.005726, allocations: 159.3 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.005741, allocations: 4 kB / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005742, allocations: 0 / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.005758, allocations: 0 / 224.6 MB, free: 13.4 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006765/0.006434, allocations: 387.4 kB / 224.9 MB, free: 13 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/0.006497, allocations: 15.97 kB / 224.9 MB, free: 12.98 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.164e-05/0.006578, allocations: 58.7 kB / 225 MB, free: 12.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.006653, allocations: 36.91 kB / 225 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.006913, allocations: 141.5 kB / 225.2 MB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.006953, allocations: 20.88 kB / 225.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.006989, allocations: 36.36 kB / 225.2 MB, free: 12.66 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.007273, allocations: 192 kB / 225.4 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.00729, allocations: 4.125 kB / 225.4 MB, free: 12.45 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.007309, allocations: 12.38 kB / 225.4 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.007318, allocations: 8.125 kB / 225.4 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.007445, allocations: 67.45 kB / 225.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.008287, allocations: 0.5112 MB / 226 MB, free: 11.82 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.008448, allocations: 110.5 kB / 226.1 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.008498, allocations: 48.81 kB / 226.2 MB, free: 11.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.008518, allocations: 8 kB / 226.2 MB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.008637, allocations: 95.17 kB / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.008639, allocations: 0 / 226.3 MB, free: 11.54 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002022/0.008841, allocations: 130.1 kB / 226.4 MB, free: 11.4 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.00889, allocations: 59.39 kB / 226.5 MB, free: 11.33 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.008984, allocations: 162.2 kB / 226.6 MB, free: 11.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.009006, allocations: 37.7 kB / 226.7 MB, free: 11.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.009071, allocations: 124.9 kB / 226.8 MB, free: 11 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.009111, allocations: 67.5 kB / 226.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.00918, allocations: 81.91 kB / 226.9 MB, free: 10.84 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.009269, allocations: 334.8 kB / 227.3 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.009306, allocations: 28.64 kB / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.009371, allocations: 84.14 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.00949, allocations: 142.5 kB / 227.5 MB, free: 10.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.009493, allocations: 0 / 227.5 MB, free: 10.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001598/0.009653, allocations: 161.4 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.009668, allocations: 4 kB / 227.7 MB, free: 10.04 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.009674, allocations: 7.938 kB / 227.7 MB, free: 10.03 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.009688, allocations: 7.938 kB / 227.7 MB, free: 10.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.009824, allocations: 39.91 kB / 227.7 MB, free: 9.984 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.00983, allocations: 4 kB / 227.7 MB, free: 9.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.009887, allocations: 23.84 kB / 227.7 MB, free: 9.957 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.009907, allocations: 20.2 kB / 227.8 MB, free: 9.938 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,step.active,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,transition1.condition,transition2.condition,stateGraphRoot.suspend,stateGraphRoot.resume) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.128e-05/0.009999, allocations: 141.7 kB / 227.9 MB, free: 9.789 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.01002, allocations: 15.98 kB / 227.9 MB, free: 9.773 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.01018, allocations: 122.5 kB / 228 MB, free: 9.645 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01018, allocations: 7.938 kB / 228 MB, free: 9.637 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01019, allocations: 0 / 228 MB, free: 9.637 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01019, allocations: 3.984 kB / 228.1 MB, free: 9.633 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.01054, allocations: 381.8 kB / 228.4 MB, free: 9.223 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01054, allocations: 8 kB / 228.4 MB, free: 9.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.0106, allocations: 27.92 kB / 228.5 MB, free: 9.188 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01061, allocations: 4 kB / 228.5 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.01061, allocations: 0 / 228.5 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01061, allocations: 0 / 228.5 MB, free: 9.184 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01062, allocations: 4 kB / 228.5 MB, free: 9.18 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.01074, allocations: 211.3 kB / 228.7 MB, free: 8.957 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01076, allocations: 19.84 kB / 228.7 MB, free: 8.938 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01077, allocations: 7.984 kB / 228.7 MB, free: 8.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.01082, allocations: 11.98 kB / 228.7 MB, free: 8.918 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.01087, allocations: 19.97 kB / 228.7 MB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.01088, allocations: 7.984 kB / 228.7 MB, free: 8.891 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.235e-05/0.0109, allocations: 20.84 kB / 228.8 MB, free: 8.867 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0109, allocations: 3.938 kB / 228.8 MB, free: 8.863 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.0111, allocations: 55.88 kB / 228.8 MB, free: 8.809 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (transition2.enableFire,step.active,transition1.enableFire,initialStep.active,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.localActive,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.localActive,step.newActive,step.oldActive,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003276/0.01143, allocations: 0.5408 MB / 229.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.01162, allocations: 129.9 kB / 229.5 MB, free: 8.121 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01162, allocations: 0 / 229.5 MB, free: 8.121 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.01174, allocations: 65.08 kB / 229.6 MB, free: 8.055 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.0119, allocations: 31.98 kB / 229.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.01284, allocations: 1.135 MB / 230.7 MB, free: 6.812 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01289, allocations: 80.33 kB / 230.8 MB, free: 6.715 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.01294, allocations: 21.94 kB / 230.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.0131, allocations: 123.3 kB / 230.9 MB, free: 6.57 MB / 234.7 MB Notification: Performance of SimCode: time 1.041e-06/0.0131, allocations: 0 / 230.9 MB, free: 6.57 MB / 234.7 MB Notification: FMU-only work: backend 0.0001575, simCode 0.0004895, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1314/0.1445, allocations: 6.416 MB / 237.4 MB, free: 80 kB / 234.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.636/2.781, allocations: 11.89 kB / 237.4 MB, free: 64 kB / 234.7 MB " [Timeout remaining time 657] (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_fmu --startTime=0 --stopTime=5 --stepSize=0.000998801 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample.fmu) > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.000998801 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-cvode.fmu) > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.000998801 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_OMSimulator-cs-euler.fmu) > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv --output-variables transition1.enableFire transition2.enableFire --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000998801 ../Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample.fmu) > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv: Error: Error opening file: Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result: filterSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy.diff.ref.mat: "" (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.000998801 ../Modelica_3_2_3_Modelica_StateGraph_Examples_FirstExample_fmpy-fmi3-cs-cvode.fmu) > Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transition1.enableFire in file Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable transition1.enableFire from file Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable transition2.enableFire in file Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable transition2.enableFire from file Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,transition1.enableFire,transition2.enableFire Variables in the result:time,stateGraphRoot.subgraphStatePort.activeSteps,stateGraphRoot.subgraphStatePort.activeStepsDummy,transition1.t,transition2.t filterSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.mat", vars={"transition2.enableFire", "transition1.enableFire"}, removeDescription=false) [Timeout 660] "Error: Could not read variable transition2.enableFire in file Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/FirstExample/FirstExample.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"transition2.enableFire", "transition1.enableFire"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.680734978988767]