Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 72.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001968/0.003257, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 145.2 kB / 11.2 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002985, allocations: 475.5 kB / 11.66 MB, free: 2.516 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9921/0.9921, allocations: 177.1 MB / 189.5 MB, free: 3.625 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2186/1.211, allocations: 53.75 MB / 243.3 MB, free: 2.074 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.RealNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 244.5 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.739e-05, allocations: 2.312 kB / 244.5 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.003642/0.00367, allocations: 1.931 MB / 246.4 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.005325, allocations: 0.6563 MB / 247.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005467, allocations: 5.906 kB / 247.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.00559, allocations: 35.59 kB / 247.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.005733, allocations: 35.66 kB / 247.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.006055, allocations: 85.42 kB / 247.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.006359, allocations: 163.4 kB / 247.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.006596, allocations: 54.45 kB / 247.5 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.006988, allocations: 124.6 kB / 247.6 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.007236, allocations: 64.44 kB / 247.6 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.007278, allocations: 12 kB / 247.7 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.007449, allocations: 28.48 kB / 247.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.007549, allocations: 36.86 kB / 247.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.007631, allocations: 39.88 kB / 247.8 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.008019, allocations: 139.4 kB / 247.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.888e-05/0.008048, allocations: 7.062 kB / 247.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.00805, allocations: 0 / 247.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.008077, allocations: 4 kB / 247.9 MB, free: 13.48 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009601/0.009038, allocations: 399.8 kB / 248.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.009094, allocations: 11.97 kB / 248.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.161e-05/0.009176, allocations: 47.66 kB / 248.4 MB, free: 12.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.009389, allocations: 110 kB / 248.5 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.009652, allocations: 174.8 kB / 248.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.009684, allocations: 8.656 kB / 248.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.009708, allocations: 16.38 kB / 248.7 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.01, allocations: 160.1 kB / 248.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.01003, allocations: 192 / 248.8 MB, free: 12.47 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.01005, allocations: 12.11 kB / 248.8 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.01008, allocations: 14.08 kB / 248.8 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.01019, allocations: 49.58 kB / 248.9 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.01103, allocations: 0.6011 MB / 249.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.01127, allocations: 184.4 kB / 249.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.01132, allocations: 25.7 kB / 249.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.01137, allocations: 4 kB / 249.7 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.01155, allocations: 116.5 kB / 249.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.01156, allocations: 7.719 kB / 249.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002825/0.01184, allocations: 115.2 kB / 249.9 MB, free: 11.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.0119, allocations: 81.11 kB / 250 MB, free: 11.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.01207, allocations: 202.6 kB / 250.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01209, allocations: 29.7 kB / 250.2 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.01217, allocations: 132.1 kB / 250.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.01221, allocations: 47.61 kB / 250.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.01228, allocations: 37.69 kB / 250.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.0124, allocations: 338.8 kB / 250.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.01246, allocations: 22.81 kB / 250.8 MB, free: 10.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.01254, allocations: 77.95 kB / 250.9 MB, free: 10.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.0127, allocations: 125.6 kB / 251 MB, free: 10.09 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.0127, allocations: 4 kB / 251 MB, free: 10.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002225/0.01292, allocations: 135.7 kB / 251.1 MB, free: 9.941 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.01295, allocations: 7.938 kB / 251.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.01296, allocations: 4 kB / 251.1 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01297, allocations: 4 kB / 251.2 MB, free: 9.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01314, allocations: 39.92 kB / 251.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01315, allocations: 4 kB / 251.2 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.01324, allocations: 27.83 kB / 251.2 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01325, allocations: 4.188 kB / 251.2 MB, free: 9.852 MB / 250.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: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001222/0.01338, allocations: 128.6 kB / 251.4 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.01341, allocations: 23.92 kB / 251.4 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.01366, allocations: 115.1 kB / 251.5 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.01367, allocations: 4 kB / 251.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.01367, allocations: 0 / 251.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01367, allocations: 0 / 251.5 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.0139, allocations: 157.2 kB / 251.6 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.0139, allocations: 0 / 251.6 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.01399, allocations: 23.98 kB / 251.7 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.014, allocations: 8 kB / 251.7 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01401, allocations: 3.938 kB / 251.7 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01401, allocations: 0 / 251.7 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.01402, allocations: 4 kB / 251.7 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.01421, allocations: 134.3 kB / 251.8 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.01424, allocations: 19.86 kB / 251.8 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.01426, allocations: 11.88 kB / 251.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.01432, allocations: 11.98 kB / 251.9 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.01439, allocations: 15.97 kB / 251.9 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.0144, allocations: 4 kB / 251.9 MB, free: 9.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.01447, allocations: 62.22 kB / 251.9 MB, free: 9.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01447, allocations: 0 / 251.9 MB, free: 9.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01472, allocations: 39.94 kB / 252 MB, free: 9.031 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004842/0.01521, allocations: 0.5897 MB / 252.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01543, allocations: 84.69 kB / 252.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.01544, allocations: 0 / 252.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.01552, allocations: 44.77 kB / 252.7 MB, free: 8.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01578, allocations: 40.36 kB / 252.7 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.01789, allocations: 1.32 MB / 254.1 MB, free: 6.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.01795, allocations: 75.98 kB / 254.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.01803, allocations: 21.62 kB / 254.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.01821, allocations: 123.3 kB / 254.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of SimCode: time 1.673e-06/0.01821, allocations: 0 / 254.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of FMU documentation: time 0.03211/0.05032, allocations: 6.042 MB / 260.3 MB, free: 0.7773 MB / 250.7 MB Notification: FMU-only work: backend 0.0002975, simCode 0.001201, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/0.1367, allocations: 1.371 MB / 261.7 MB, free: 15.34 MB / 266.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 3.238/3.374, allocations: 26.08 kB / 261.7 MB, free: 15.32 MB / 266.7 MB " [Timeout remaining time 657] (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00198965 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1.fmu) > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=10 --stepSize=0.00198965 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_OMSimulator-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=10 --stepSize=0.00198965 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_OMSimulator-cs-euler.fmu) > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv --output-variables 'multiSwitch.u[1]' 'multiSwitch.u[2]' --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00198965 ../Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1.fmu) > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,multiSwitch.u[1],multiSwitch.u[2] Variables in the result: filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_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_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_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/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy.diff.ref.mat: "" (rm -f Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 10 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.00198965 ../Modelica_trunk_Modelica_Blocks_Examples_RealNetwork1_fmpy-fmi3-cs-cvode.fmu) > Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable multiSwitch.u[1] in file Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable multiSwitch.u[1] from file Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable multiSwitch.u[2] in file Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable multiSwitch.u[2] from file Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,multiSwitch.u[1],multiSwitch.u[2] Variables in the result:time,add.u[1],linearDependency1.y,minMax.u[1],minMax.u[2] filterSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.diff.mat", vars={"multiSwitch.u[2]", "multiSwitch.u[1]"}, removeDescription=false) [Timeout 660] "Error: Could not read variable multiSwitch.u[2] in file Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/RealNetwork1/RealNetwork1.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.RealNetwork1_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"multiSwitch.u[2]", "multiSwitch.u[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 6.36298565287143]