Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008954/0.0008949, allocations: 101 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009784/0.0009786, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2547, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00363/0.2583, allocations: 3.064 MB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2596, allocations: 0.7179 MB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2597, allocations: 11.94 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2599, allocations: 42.36 kB / 410.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.2601, allocations: 87.25 kB / 411 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2603, allocations: 75.92 kB / 411 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2607, allocations: 406.2 kB / 411.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2609, allocations: 93.19 kB / 411.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.2611, allocations: 147.4 kB / 411.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2612, allocations: 155.3 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.2613, allocations: 24 kB / 411.8 MB, free: 23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.2614, allocations: 20 kB / 411.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2614, allocations: 59.77 kB / 411.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2615, allocations: 163.2 kB / 412.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.2618, allocations: 380.1 kB / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2618, allocations: 0 / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2618, allocations: 0 / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.2619, allocations: 3.938 kB / 412.5 MB, free: 22.38 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009398/0.2628, allocations: 0.6275 MB / 413.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2629, allocations: 12.59 kB / 413.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2631, allocations: 44.55 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.2633, allocations: 283.5 kB / 413.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.2634, allocations: 16.94 kB / 413.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.2634, allocations: 32.38 kB / 413.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.2638, allocations: 257.1 kB / 413.7 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2639, allocations: 7.938 kB / 413.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.2639, allocations: 16 kB / 413.7 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2639, allocations: 8 kB / 413.8 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.2643, allocations: 214.1 kB / 414 MB, free: 20.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2657, allocations: 0.9678 MB / 414.9 MB, free: 19.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.2661, allocations: 308.2 kB / 415.2 MB, free: 19.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2663, allocations: 108.8 kB / 415.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2664, allocations: 0 / 415.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2664, allocations: 38.56 kB / 415.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.2664, allocations: 0 / 415.4 MB, free: 19.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001142/0.2675, allocations: 0.5549 MB / 415.9 MB, free: 18.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2676, allocations: 59.39 kB / 416 MB, free: 18.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.2678, allocations: 262.6 kB / 416.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.2678, allocations: 29.7 kB / 416.3 MB, free: 18.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.2679, allocations: 179.9 kB / 416.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.2679, allocations: 74.84 kB / 416.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.268, allocations: 49.88 kB / 416.6 MB, free: 17.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.2681, allocations: 338.8 kB / 416.9 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2683, allocations: 76.42 kB / 417 MB, free: 17.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2684, allocations: 107.5 kB / 417.1 MB, free: 17.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2688, allocations: 186.5 kB / 417.3 MB, free: 17.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2688, allocations: 0 / 417.3 MB, free: 17.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005358/0.2693, allocations: 330.6 kB / 417.6 MB, free: 16.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2693, allocations: 4 kB / 417.6 MB, free: 16.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2693, allocations: 0 / 417.6 MB, free: 16.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.2696, allocations: 77.73 kB / 417.7 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.2698, allocations: 35.97 kB / 417.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.2714, allocations: 2.838 MB / 420.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.2716, allocations: 19.88 kB / 420.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2716, allocations: 12 kB / 420.6 MB, free: 13.66 MB / 298.7 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.2717, allocations: 145.7 kB / 420.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.2717, allocations: 23.72 kB / 420.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.2718, allocations: 26.19 kB / 420.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2718, allocations: 8.047 kB / 420.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.2718, allocations: 8.188 kB / 420.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2718, allocations: 3.984 kB / 420.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/0.2727, allocations: 0.6871 MB / 421.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2727, allocations: 0 / 421.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2728, allocations: 23.98 kB / 421.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.273, allocations: 77.61 kB / 421.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.273, allocations: 7.938 kB / 421.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.2744, allocations: 2.819 MB / 424.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2744, allocations: 4.031 kB / 424.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008443/0.2753, allocations: 1.032 MB / 425.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.2753, allocations: 112.7 kB / 425.5 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2754, allocations: 4 kB / 425.5 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.2756, allocations: 27.98 kB / 425.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2757, allocations: 19.97 kB / 425.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2757, allocations: 8 kB / 425.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.2759, allocations: 190 kB / 425.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2759, allocations: 0 / 425.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.2764, allocations: 95.75 kB / 425.9 MB, free: 7.934 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.2766, allocations: 115.1 kB / 426 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007368/0.2773, allocations: 445.1 kB / 426.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2774, allocations: 8.125 kB / 426.4 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.2777, allocations: 340.3 kB / 426.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.2783, allocations: 55.28 kB / 426.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/0.2792, allocations: 0.7645 MB / 427.6 MB, free: 6.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2794, allocations: 0.7717 MB / 428.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.2795, allocations: 26.28 kB / 428.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.2796, allocations: 19.44 kB / 428.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2796, allocations: 0 / 428.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of Templates: time 0.006246/0.2858, allocations: 3.594 MB / 432 MB, free: 1.734 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches