Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 71.88 kB / 359.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2774, allocations: 50.54 MB / 410.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003328/0.2808, allocations: 2.155 MB / 412.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.2817, allocations: 0.5726 MB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.2818, allocations: 4 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.2819, allocations: 35.7 kB / 413 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.282, allocations: 47.5 kB / 413 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.2822, allocations: 55.92 kB / 413.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2825, allocations: 231 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2827, allocations: 57.64 kB / 413.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2828, allocations: 91.7 kB / 413.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2829, allocations: 103.6 kB / 413.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.283, allocations: 20 kB / 413.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.283, allocations: 20 kB / 413.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.283, allocations: 47.84 kB / 413.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.947e-05/0.2831, allocations: 95.59 kB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.2834, allocations: 234.9 kB / 414 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2834, allocations: 0 / 414 MB, free: 13.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2834, allocations: 0 / 414 MB, free: 13.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2834, allocations: 0 / 414 MB, free: 13.7 MB / 334.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.0007845/0.2842, allocations: 0.4947 MB / 414.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.2843, allocations: 12.03 kB / 414.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.2843, allocations: 20.8 kB / 414.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.2847, allocations: 224.1 kB / 414.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2847, allocations: 12.38 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.2847, allocations: 24.31 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.2851, allocations: 185.8 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2851, allocations: 0 / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.2851, allocations: 8 kB / 414.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2851, allocations: 4 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.2854, allocations: 143.9 kB / 415.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2867, allocations: 0.7431 MB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.2871, allocations: 158.5 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.2873, allocations: 84.83 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.2873, allocations: 4 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.2874, allocations: 34.55 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2874, allocations: 0 / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004861/0.2878, allocations: 196.8 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.2879, allocations: 55.34 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.288, allocations: 151.5 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2881, allocations: 29.7 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2882, allocations: 136.2 kB / 416.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.2882, allocations: 51.58 kB / 416.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.2883, allocations: 33.72 kB / 416.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2884, allocations: 322.8 kB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2885, allocations: 55.92 kB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2887, allocations: 73.67 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.2889, allocations: 125.1 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2889, allocations: 0 / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003429/0.2893, allocations: 177.5 kB / 417.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2893, allocations: 4 kB / 417.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2893, allocations: 0 / 417.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2893, allocations: 7.938 kB / 417.5 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.2896, allocations: 43.91 kB / 417.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2896, allocations: 0 / 417.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.2897, allocations: 23.91 kB / 417.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2897, allocations: 4 kB / 417.6 MB, free: 9.859 MB / 334.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.0001096/0.2898, allocations: 129.8 kB / 417.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.2898, allocations: 15.91 kB / 417.7 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.2899, allocations: 16.78 kB / 417.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2899, allocations: 4 kB / 417.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2899, allocations: 0 / 417.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2899, allocations: 3.984 kB / 417.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2902, allocations: 257.6 kB / 418 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.2902, allocations: 7.984 kB / 418 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.2904, allocations: 39.86 kB / 418 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2904, allocations: 4 kB / 418 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2904, allocations: 3.938 kB / 418 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2904, allocations: 0 / 418 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2904, allocations: 0 / 418 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.2909, allocations: 307.3 kB / 418.3 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.291, allocations: 92.95 kB / 418.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.291, allocations: 3.938 kB / 418.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2912, allocations: 16.03 kB / 418.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.2912, allocations: 11.98 kB / 418.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2912, allocations: 4 kB / 418.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.2913, allocations: 122.4 kB / 418.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2913, allocations: 0 / 418.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2916, allocations: 51.89 kB / 418.6 MB, free: 8.695 MB / 334.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.0001317/0.2917, allocations: 103.2 kB / 418.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.292, allocations: 119.9 kB / 418.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.292, allocations: 0 / 418.8 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.2922, allocations: 59.92 kB / 418.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2925, allocations: 28.03 kB / 418.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.2935, allocations: 0.5198 MB / 419.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2938, allocations: 0.724 MB / 420.2 MB, free: 7.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.2939, allocations: 13.42 kB / 420.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.294, allocations: 15.44 kB / 420.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.294, allocations: 0 / 420.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of Templates: time 0.004602/0.2986, allocations: 1.672 MB / 421.9 MB, free: 5.41 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time