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/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.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/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3485, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004076/0.3526, allocations: 3.029 MB / 413 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3538, allocations: 0.7401 MB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3539, allocations: 8 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.3541, allocations: 55.42 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.3543, allocations: 99.06 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.3546, allocations: 99.86 kB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.355, allocations: 418.1 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.3552, allocations: 103.1 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.3555, allocations: 167.4 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.3556, allocations: 159.3 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.3557, allocations: 32 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.3558, allocations: 32 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.3559, allocations: 79.69 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.356, allocations: 183.1 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.3565, allocations: 387.8 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3565, allocations: 0 / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3565, allocations: 0 / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3565, allocations: 0 / 415.5 MB, free: 12.03 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001043/0.3576, allocations: 0.6353 MB / 416.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3576, allocations: 8.031 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.3578, allocations: 52.42 kB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3583, allocations: 295.5 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3583, allocations: 20.94 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.3583, allocations: 24.38 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.3588, allocations: 261.2 kB / 416.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3589, allocations: 0 / 416.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.3589, allocations: 12 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3589, allocations: 8 kB / 416.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.3594, allocations: 218.1 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.361, allocations: 0.9716 MB / 418 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.3616, allocations: 302 kB / 418.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3618, allocations: 104.4 kB / 418.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3618, allocations: 4 kB / 418.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3619, allocations: 38.56 kB / 418.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.3619, allocations: 4 kB / 418.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001274/0.3631, allocations: 0.5558 MB / 419 MB, free: 8.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3632, allocations: 55.41 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.3634, allocations: 258.6 kB / 419.3 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3635, allocations: 29.7 kB / 419.3 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3636, allocations: 179.9 kB / 419.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.3637, allocations: 74.89 kB / 419.6 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.3638, allocations: 45.94 kB / 419.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3639, allocations: 346.8 kB / 420 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3641, allocations: 72.42 kB / 420 MB, free: 7.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.3643, allocations: 107.5 kB / 420.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.3647, allocations: 194.4 kB / 420.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3647, allocations: 0 / 420.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006171/0.3653, allocations: 326.8 kB / 420.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3654, allocations: 4 kB / 420.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3654, allocations: 0 / 420.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000289/0.3657, allocations: 73.67 kB / 420.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.3659, allocations: 43.91 kB / 420.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.3684, allocations: 3.047 MB / 423.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3686, allocations: 31.83 kB / 423.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3686, allocations: 8 kB / 423.8 MB, free: 3.078 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 (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.0001374/0.3688, allocations: 141.7 kB / 424 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3688, allocations: 31.66 kB / 424 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.3689, allocations: 30.17 kB / 424 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3689, allocations: 7.922 kB / 424 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3689, allocations: 0 / 424 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.369, allocations: 108.7 kB / 424.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.369, allocations: 8 kB / 424.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.3692, allocations: 27.97 kB / 424.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.3693, allocations: 19.97 kB / 424.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007505/0.3701, allocations: 362.3 kB / 424.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006416/0.3707, allocations: 474.1 kB / 425 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001701/0.3709, allocations: 71.95 kB / 425.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3711, allocations: 190 kB / 425.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.3711, allocations: 0 / 425.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.372, allocations: 463.6 kB / 425.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of SimCode: time 0.001058/0.3731, allocations: 1.004 MB / 426.7 MB, free: 40 kB / 334.1 MB Notification: Performance of Templates: time 0.0077/0.3808, allocations: 4.003 MB / 430.7 MB, free: 12.08 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches