Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2896, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003073/0.2927, allocations: 2.15 MB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.2937, allocations: 0.6195 MB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.2938, allocations: 0 / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.294, allocations: 23.8 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.2941, allocations: 47.56 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.2943, allocations: 51.86 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.2945, allocations: 159.2 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2946, allocations: 57.44 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2948, allocations: 67.78 kB / 413.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2949, allocations: 67.7 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.295, allocations: 12 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.2951, allocations: 31.92 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.2951, allocations: 31.86 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.2952, allocations: 71.61 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2954, allocations: 172.5 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2954, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2954, allocations: 0 / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2954, allocations: 0 / 413.5 MB, free: 14.02 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005554/0.296, allocations: 443.2 kB / 413.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.296, allocations: 8.031 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.2962, allocations: 28.73 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.2965, allocations: 208.1 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2965, allocations: 8.609 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.2965, allocations: 8.375 kB / 414.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.2968, allocations: 131.8 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2968, allocations: 0 / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2968, allocations: 4 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2968, allocations: 4 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.297, allocations: 84.59 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.2978, allocations: 0.5939 MB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.2981, allocations: 90.61 kB / 415.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.2982, allocations: 36.92 kB / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.2982, allocations: 0 / 415.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2982, allocations: 34.55 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2982, allocations: 0 / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006623/0.2989, allocations: 255.4 kB / 415.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2989, allocations: 55.34 kB / 415.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2991, allocations: 153.2 kB / 415.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2991, allocations: 33.62 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.2991, allocations: 124 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.2992, allocations: 27.64 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.2992, allocations: 17.72 kB / 415.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.2993, allocations: 322.8 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.2994, allocations: 23.98 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.2995, allocations: 46.56 kB / 416.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2996, allocations: 62.5 kB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2996, allocations: 4 kB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002785/0.2999, allocations: 142.2 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2999, allocations: 4 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2999, allocations: 192 / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.3001, allocations: 40.83 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.3002, allocations: 8.188 kB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.3016, allocations: 1.692 MB / 418.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.3017, allocations: 11.94 kB / 418.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3017, allocations: 0 / 418.1 MB, free: 8.922 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.3018, allocations: 125.8 kB / 418.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3018, allocations: 11.84 kB / 418.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.3018, allocations: 16.7 kB / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3018, allocations: 0 / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3019, allocations: 0 / 418.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3019, allocations: 85.02 kB / 418.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3019, allocations: 4.047 kB / 418.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.302, allocations: 7.984 kB / 418.4 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3021, allocations: 15.92 kB / 418.4 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003718/0.3024, allocations: 209.7 kB / 418.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002824/0.3027, allocations: 294.6 kB / 418.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.413e-05/0.3028, allocations: 27.98 kB / 418.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.925e-05/0.3029, allocations: 107.3 kB / 419 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.3029, allocations: 0 / 419 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006684/0.3036, allocations: 249 kB / 419.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005981/0.3042, allocations: 0.765 MB / 420 MB, free: 6.906 MB / 334.1 MB Notification: Performance of Templates: time 0.004005/0.3082, allocations: 1.425 MB / 421.5 MB, free: 5.488 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches