Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001408/0.001408, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001626/0.001626, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [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 1.411/1.411, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09979, allocations: 53.31 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003504/0.1033, allocations: 2.173 MB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1044, allocations: 0.5688 MB / 429.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.368e-05/0.1045, allocations: 4 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.1046, allocations: 31.7 kB / 429.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.1047, allocations: 55.48 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1049, allocations: 63.84 kB / 429.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1052, allocations: 235 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1054, allocations: 53.66 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1055, allocations: 91.77 kB / 429.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1056, allocations: 99.55 kB / 429.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1057, allocations: 20 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.1057, allocations: 24 kB / 429.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.1057, allocations: 39.91 kB / 429.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1059, allocations: 107.5 kB / 429.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.1062, allocations: 239.1 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1062, allocations: 0 / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1062, allocations: 0 / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1062, allocations: 0 / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008246/0.107, allocations: 494.6 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.107, allocations: 8.031 kB / 430.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.065e-05/0.1071, allocations: 54.73 kB / 430.6 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.1072, allocations: 28.77 kB / 430.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.1076, allocations: 222.4 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.1076, allocations: 20.38 kB / 430.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.1077, allocations: 20.31 kB / 430.9 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1951/0.3028, allocations: 178.8 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.3028, allocations: 0.9062 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.3029, allocations: 4.375 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.3029, allocations: 5.812 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.3033, allocations: 142.4 kB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.3046, allocations: 0.7486 MB / 432 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.305, allocations: 147.2 kB / 432.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.3051, allocations: 85.88 kB / 432.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.3052, allocations: 5.266 kB / 432.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3052, allocations: 36 kB / 432.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.3052, allocations: 1.469 kB / 432.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004769/0.3057, allocations: 185.3 kB / 432.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3057, allocations: 56.81 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3058, allocations: 154.1 kB / 432.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3058, allocations: 27.61 kB / 432.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3059, allocations: 135.3 kB / 432.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3059, allocations: 49.98 kB / 432.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.306, allocations: 31.83 kB / 432.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.306, allocations: 324.6 kB / 433.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3061, allocations: 53.89 kB / 433.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3063, allocations: 75.42 kB / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3065, allocations: 129.1 kB / 433.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3065, allocations: 4.719 kB / 433.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000313/0.3068, allocations: 177.6 kB / 433.6 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3068, allocations: 5.219 kB / 433.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3068, allocations: 2.5 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3068, allocations: 3.594 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.3071, allocations: 45.52 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3071, allocations: 1.062 kB / 433.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3072, allocations: 20.55 kB / 433.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3072, allocations: 4.188 kB / 433.7 MB, free: 9.996 MB / 350.1 MB 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 (19): * Single equations (assignments): 19 * 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 8.843e-05/0.3073, allocations: 127 kB / 433.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.3073, allocations: 18.03 kB / 433.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.3074, allocations: 18.33 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3074, allocations: 2.281 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3074, allocations: 3.812 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3074, allocations: 1 kB / 433.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3076, allocations: 264.9 kB / 434.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3076, allocations: 0 / 434.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3079, allocations: 44.72 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3079, allocations: 1.188 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3079, allocations: 4.812 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3079, allocations: 0 / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3079, allocations: 3.75 kB / 434.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.3083, allocations: 297.7 kB / 434.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3083, allocations: 90.2 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3084, allocations: 4.969 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3085, allocations: 15.38 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.3086, allocations: 11.03 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3086, allocations: 3.031 kB / 434.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.3086, allocations: 121.9 kB / 434.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3086, allocations: 4.812 kB / 434.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3089, allocations: 50.56 kB / 434.8 MB, free: 9.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * 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.0005937/0.3095, allocations: 0.8326 MB / 435.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3098, allocations: 123.6 kB / 435.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3098, allocations: 0 / 435.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.31, allocations: 59.55 kB / 435.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3103, allocations: 35.75 kB / 435.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3126, allocations: 2.044 MB / 437.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.3128, allocations: 0.7221 MB / 438.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.676e-05/0.3129, allocations: 16.94 kB / 438.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.313, allocations: 44.41 kB / 438.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.313, allocations: 1.031 kB / 438.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.3439, allocations: 3.412 MB / 442.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.032, allocations: 17.19 kB / 442.1 MB, free: 5.883 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[50220]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.300333646824583]