Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.001704/0.001704, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002204/0.002204, allocations: 165.7 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.462/1.462, allocations: 177.1 MB / 204.7 MB, free: 9.027 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 57.94 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.1003, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004024/0.1043, allocations: 2.042 MB / 381 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1055, allocations: 0.5494 MB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1057, allocations: 7.938 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.1058, allocations: 27.72 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.106, allocations: 55.48 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1062, allocations: 63.92 kB / 381.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1065, allocations: 227 kB / 381.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.1067, allocations: 57.77 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1069, allocations: 87.72 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.107, allocations: 91.58 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.1071, allocations: 20 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.1071, allocations: 20 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.1072, allocations: 43.84 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1073, allocations: 91.66 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1076, allocations: 239 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1076, allocations: 0 / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1076, allocations: 4 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1076, allocations: 0 / 382.5 MB, free: 11.87 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.0008162/0.1084, allocations: 413.5 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1085, allocations: 15.98 kB / 382.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1085, allocations: 28.78 kB / 383 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1089, allocations: 162.2 kB / 383.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1089, allocations: 8.375 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1089, allocations: 16.38 kB / 383.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.1093, allocations: 237.2 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1093, allocations: 0 / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1094, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1094, allocations: 8 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.1097, allocations: 143.9 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1109, allocations: 0.6262 MB / 384.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.1113, allocations: 154.4 kB / 384.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1115, allocations: 84.83 kB / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1115, allocations: 0 / 384.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1115, allocations: 34.56 kB / 384.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.001e-06/0.1116, allocations: 4 kB / 384.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005038/0.1121, allocations: 185.2 kB / 384.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1121, allocations: 51.41 kB / 384.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1123, allocations: 157.1 kB / 384.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.1123, allocations: 33.7 kB / 384.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1124, allocations: 136.2 kB / 385 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1124, allocations: 47.53 kB / 385 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.1125, allocations: 37.66 kB / 385.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1127, allocations: 322.8 kB / 385.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1128, allocations: 51.97 kB / 385.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.113, allocations: 73.69 kB / 385.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1132, allocations: 117.7 kB / 385.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1132, allocations: 4 kB / 385.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003621/0.1136, allocations: 180.7 kB / 385.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1136, allocations: 8 kB / 385.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1136, allocations: 0 / 385.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1136, allocations: 4.031 kB / 385.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.1139, allocations: 43.91 kB / 385.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1139, allocations: 4 kB / 385.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.114, allocations: 15.88 kB / 385.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.114, allocations: 4 kB / 385.9 MB, free: 8.305 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.0001252/0.1141, allocations: 129.8 kB / 386 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.1142, allocations: 19.83 kB / 386 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.1142, allocations: 16.78 kB / 386 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.1142, allocations: 0 / 386 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1142, allocations: 8 kB / 386 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1142, allocations: 3.938 kB / 386 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.1145, allocations: 177.2 kB / 386.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1145, allocations: 0 / 386.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.1147, allocations: 39.92 kB / 386.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1147, allocations: 0 / 386.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.1147, allocations: 7.984 kB / 386.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1147, allocations: 0 / 386.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1147, allocations: 0 / 386.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.1153, allocations: 307 kB / 386.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.1153, allocations: 11.89 kB / 386.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1154, allocations: 4 kB / 386.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1155, allocations: 15.97 kB / 386.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1156, allocations: 11.98 kB / 386.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1156, allocations: 4 kB / 386.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1157, allocations: 122.2 kB / 386.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1157, allocations: 7.938 kB / 386.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.116, allocations: 43.89 kB / 386.8 MB, free: 7.344 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.0001294/0.1161, allocations: 99.25 kB / 386.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.1165, allocations: 115.9 kB / 387 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1165, allocations: 0 / 387 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1166, allocations: 63.91 kB / 387.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1169, allocations: 28.05 kB / 387.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.118, allocations: 0.5068 MB / 387.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1181, allocations: 112.1 kB / 387.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.1181, allocations: 13.14 kB / 387.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1182, allocations: 16.5 kB / 387.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1182, allocations: 4 kB / 387.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Templates: time 0.004736/0.1229, allocations: 1.534 MB / 389.3 MB, free: 4.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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[50206]=50000.000000 " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.448645485099405]