Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 51.92 kB / 365.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09545, allocations: 52.13 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00334/0.09879, allocations: 2.155 MB / 419.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.09973, allocations: 0.5415 MB / 420.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.09982, allocations: 4 kB / 420.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.09996, allocations: 35.64 kB / 420.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.1001, allocations: 47.56 kB / 420.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1002, allocations: 59.86 kB / 420.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1005, allocations: 235 kB / 420.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1007, allocations: 57.66 kB / 420.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1008, allocations: 87.75 kB / 421 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1009, allocations: 99.55 kB / 421.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.101, allocations: 20 kB / 421.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-05/0.101, allocations: 20 kB / 421.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.101, allocations: 47.84 kB / 421.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1011, allocations: 99.53 kB / 421.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1014, allocations: 239.1 kB / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1014, allocations: 0 / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1014, allocations: 0 / 421.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1014, allocations: 4 kB / 421.5 MB, free: 8.848 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.0007691/0.1022, allocations: 494.6 kB / 422 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1022, allocations: 16.03 kB / 422 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.1023, allocations: 50.73 kB / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.1024, allocations: 24.8 kB / 422.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1026, allocations: 224 kB / 422.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1027, allocations: 12.38 kB / 422.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1027, allocations: 12.38 kB / 422.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.103, allocations: 185.7 kB / 422.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.103, allocations: 3.938 kB / 422.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1031, allocations: 8 kB / 422.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1031, allocations: 8 kB / 422.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.1034, allocations: 139.9 kB / 422.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.1046, allocations: 0.747 MB / 423.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1049, allocations: 150.6 kB / 423.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1051, allocations: 92.83 kB / 423.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1051, allocations: 3.938 kB / 423.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1051, allocations: 42.48 kB / 423.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1051, allocations: 0 / 423.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004388/0.1056, allocations: 176.6 kB / 423.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1056, allocations: 59.34 kB / 423.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1057, allocations: 157.8 kB / 424.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1058, allocations: 29.7 kB / 424.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.1059, allocations: 136.2 kB / 424.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.1059, allocations: 47.59 kB / 424.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.106, allocations: 37.7 kB / 424.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1061, allocations: 322.8 kB / 424.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1062, allocations: 47.98 kB / 424.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1063, allocations: 83.67 kB / 424.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1066, allocations: 113.9 kB / 424.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1066, allocations: 0 / 424.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003161/0.1069, allocations: 179.6 kB / 425.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1069, allocations: 12.03 kB / 425.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1069, allocations: 3.938 kB / 425.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1069, allocations: 0 / 425.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1071, allocations: 39.97 kB / 425.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1071, allocations: 4 kB / 425.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.1072, allocations: 19.88 kB / 425.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1073, allocations: 7.938 kB / 425.1 MB, free: 4.961 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 0.0001036/0.1074, allocations: 126.5 kB / 425.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1074, allocations: 11.95 kB / 425.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.1074, allocations: 20.78 kB / 425.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1074, allocations: 4 kB / 425.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1074, allocations: 0 / 425.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1075, allocations: 7.984 kB / 425.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.1077, allocations: 273.4 kB / 425.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1078, allocations: 0 / 425.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.1079, allocations: 35.92 kB / 425.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.108, allocations: 0 / 425.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.108, allocations: 7.938 kB / 425.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.108, allocations: 7.938 kB / 425.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.108, allocations: 3.984 kB / 425.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.1084, allocations: 295.4 kB / 425.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.1085, allocations: 85.06 kB / 426 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1085, allocations: 4.031 kB / 426 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.1087, allocations: 20.03 kB / 426 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1087, allocations: 11.97 kB / 426 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1087, allocations: 4 kB / 426 MB, free: 3.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.362e-05/0.1088, allocations: 117.3 kB / 426.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1088, allocations: 0 / 426.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1091, allocations: 47.89 kB / 426.2 MB, free: 3.805 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.0007748/0.1098, allocations: 0.8448 MB / 427 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.1101, allocations: 119.9 kB / 427.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1101, allocations: 0 / 427.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1102, allocations: 63.91 kB / 427.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1105, allocations: 28.05 kB / 427.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.113, allocations: 2.052 MB / 429.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1134, allocations: 0.7277 MB / 430 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.1135, allocations: 17.42 kB / 430.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.1136, allocations: 47.42 kB / 430.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1136, allocations: 0 / 430.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06279/0.1763, allocations: 3.422 MB / 433.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.291, allocations: 8.5 kB / 433.5 MB, free: 12.45 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.useHeatPort,G.v,Gnd.p.i,Gnd.p.v,L.L,L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.useHeatPort,Ro.v,der(C1.v),der(C2.v),der(L.i),time [Calling sys.exit(0), Time elapsed: 12.648775498848408]