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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=100000,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=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 110.9 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001143, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.66 kB / 306.9 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09692, allocations: 50.53 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003279/0.1002, allocations: 2.218 MB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1013, allocations: 0.5728 MB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1014, allocations: 0 / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1016, allocations: 23.83 kB / 360.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1018, allocations: 47.61 kB / 360.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1019, allocations: 47.89 kB / 360.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.1022, allocations: 219 kB / 360.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1024, allocations: 74.08 kB / 360.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1025, allocations: 75.77 kB / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1026, allocations: 99.55 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.1027, allocations: 16 kB / 360.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.1027, allocations: 12 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.1027, allocations: 35.84 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.1028, allocations: 103.5 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.103, allocations: 175.8 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.103, allocations: 0 / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.103, allocations: 0 / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1031, allocations: 4 kB / 361.1 MB, free: 10.55 MB / 302.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.0007315/0.1038, allocations: 0.4909 MB / 361.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1038, allocations: 8.031 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1039, allocations: 20.75 kB / 361.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1042, allocations: 210.9 kB / 361.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1042, allocations: 20.38 kB / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.129e-05/0.1043, allocations: 16.38 kB / 361.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.1047, allocations: 177.9 kB / 362.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1047, allocations: 4 kB / 362.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1047, allocations: 8 kB / 362.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1047, allocations: 4 kB / 362.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.105, allocations: 143.8 kB / 362.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1062, allocations: 0.7468 MB / 363 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.1066, allocations: 162.5 kB / 363.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1068, allocations: 88.83 kB / 363.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1069, allocations: 4 kB / 363.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1069, allocations: 38.44 kB / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1069, allocations: 0 / 363.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004657/0.1074, allocations: 193.7 kB / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.1074, allocations: 59.28 kB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1075, allocations: 148.8 kB / 363.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1076, allocations: 29.7 kB / 363.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1076, allocations: 132.2 kB / 363.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.1077, allocations: 51.2 kB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.1078, allocations: 33.7 kB / 363.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1079, allocations: 326.8 kB / 364.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.108, allocations: 51.97 kB / 364.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1082, allocations: 73.62 kB / 364.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1084, allocations: 117.7 kB / 364.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1084, allocations: 0 / 364.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003372/0.1088, allocations: 183.9 kB / 364.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1088, allocations: 8 kB / 364.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1088, allocations: 0 / 364.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1088, allocations: 3.938 kB / 364.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.109, allocations: 39.97 kB / 364.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.109, allocations: 4 kB / 364.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1091, allocations: 15.91 kB / 364.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1092, allocations: 4 kB / 364.7 MB, free: 6.73 MB / 302.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.0001063/0.1093, allocations: 137.8 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1093, allocations: 7.906 kB / 364.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.1094, allocations: 24.77 kB / 364.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1094, allocations: 0 / 364.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1094, allocations: 4 kB / 364.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1094, allocations: 0 / 364.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.1098, allocations: 269.4 kB / 365.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.1098, allocations: 3.984 kB / 365.1 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.11, allocations: 35.97 kB / 365.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.11, allocations: 4 kB / 365.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.11, allocations: 11.94 kB / 365.2 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.11, allocations: 7.875 kB / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1101, allocations: 0 / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.1105, allocations: 295.3 kB / 365.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1106, allocations: 89.05 kB / 365.6 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1106, allocations: 7.938 kB / 365.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1108, allocations: 15.98 kB / 365.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1108, allocations: 4 kB / 365.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1108, allocations: 7.984 kB / 365.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.07e-05/0.1109, allocations: 114.1 kB / 365.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1109, allocations: 0 / 365.7 MB, free: 5.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1112, allocations: 47.84 kB / 365.8 MB, free: 5.574 MB / 302.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.0001238/0.1113, allocations: 107.2 kB / 365.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1116, allocations: 127.2 kB / 366 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1116, allocations: 3.938 kB / 366 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.1118, allocations: 59.97 kB / 366.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1121, allocations: 24.05 kB / 366.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1132, allocations: 0.6071 MB / 366.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1135, allocations: 0.7243 MB / 367.4 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.1135, allocations: 15.44 kB / 367.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1135, allocations: 3.938 kB / 367.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Templates: time 0.003658/0.1172, allocations: 2.019 MB / 369.5 MB, free: 1.82 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.v,C2.v,L.i,time