Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 107 kB / 17.74 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 194.5 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3011, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004573/0.3058, allocations: 3.009 MB / 404.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3072, allocations: 0.6816 MB / 405.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.3073, allocations: 4 kB / 405.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3076, allocations: 55.44 kB / 405.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.3078, allocations: 103 kB / 405.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3081, allocations: 87.88 kB / 405.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.3086, allocations: 418.2 kB / 405.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.3088, allocations: 107.1 kB / 405.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.3091, allocations: 151.4 kB / 406 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3093, allocations: 167.2 kB / 406.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.3094, allocations: 36 kB / 406.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.3094, allocations: 35.94 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.918e-05/0.3095, allocations: 71.75 kB / 406.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3097, allocations: 171.2 kB / 406.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.3102, allocations: 390.2 kB / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3102, allocations: 0 / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3102, allocations: 0 / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3102, allocations: 0 / 406.9 MB, free: 3.418 MB / 318.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.00107/0.3113, allocations: 0.6389 MB / 407.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3114, allocations: 15.89 kB / 407.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.3114, allocations: 40.7 kB / 407.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.3119, allocations: 287.7 kB / 407.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.3119, allocations: 16.94 kB / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.312, allocations: 28.38 kB / 407.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.3125, allocations: 265.2 kB / 408.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3125, allocations: 3.938 kB / 408.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.3126, allocations: 8 kB / 408.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3126, allocations: 8 kB / 408.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.3131, allocations: 218.1 kB / 408.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3148, allocations: 0.9603 MB / 409.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.3153, allocations: 297.5 kB / 409.6 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3156, allocations: 112.8 kB / 409.7 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3156, allocations: 4 kB / 409.7 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3157, allocations: 38.5 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.485e-06/0.3157, allocations: 0 / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001388/0.3171, allocations: 0.566 MB / 410.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.3171, allocations: 51.41 kB / 410.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3174, allocations: 258.6 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.3174, allocations: 29.7 kB / 410.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3176, allocations: 184.1 kB / 410.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.3177, allocations: 83.36 kB / 410.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.3177, allocations: 37.95 kB / 411 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3179, allocations: 334.8 kB / 411.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3181, allocations: 80.42 kB / 411.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3184, allocations: 116.1 kB / 411.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.3188, allocations: 186.5 kB / 411.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3188, allocations: 0 / 411.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006489/0.3194, allocations: 322.8 kB / 412 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3195, allocations: 8.062 kB / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3195, allocations: 0 / 412 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.3198, allocations: 77.61 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.32, allocations: 39.91 kB / 412.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.3228, allocations: 3.056 MB / 415.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.323, allocations: 31.8 kB / 415.2 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.323, allocations: 12.06 kB / 415.2 MB, free: 10.46 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.0001808/0.3232, allocations: 141.8 kB / 415.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.3233, allocations: 27.8 kB / 415.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.3233, allocations: 34.17 kB / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3234, allocations: 0 / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3234, allocations: 0 / 415.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.3235, allocations: 104.9 kB / 415.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.3235, allocations: 4 kB / 415.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3237, allocations: 35.97 kB / 415.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.3238, allocations: 15.97 kB / 415.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008048/0.3246, allocations: 362.3 kB / 415.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006867/0.3253, allocations: 478.4 kB / 416.4 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001719/0.3255, allocations: 71.94 kB / 416.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.3258, allocations: 186 kB / 416.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of Backend: time 9.02e-07/0.3258, allocations: 0 / 416.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3269, allocations: 470 kB / 417.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of SimCode: time 0.00119/0.3281, allocations: 1.022 MB / 418.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of Templates: time 0.008294/0.3364, allocations: 3.944 MB / 422.1 MB, free: 3.504 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches