Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00142/0.00142, allocations: 104.4 kB / 18.4 MB, free: 4.68 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.001666/0.001666, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 51.94 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09756, allocations: 46.61 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00459/0.1022, allocations: 2.963 MB / 378.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1038, allocations: 0.7213 MB / 379.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.1041, allocations: 7.938 kB / 379.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1044, allocations: 55.5 kB / 379.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1048, allocations: 111 kB / 379.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1051, allocations: 87.88 kB / 379.8 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.1057, allocations: 414 kB / 380.2 MB, free: 252 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.1059, allocations: 111.1 kB / 380.3 MB, free: 140 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2348/0.3407, allocations: 144.4 kB / 380.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000454/0.3412, allocations: 162.1 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3414, allocations: 31.38 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.337e-05/0.3414, allocations: 32.44 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.3415, allocations: 73.92 kB / 380.7 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3417, allocations: 177.8 kB / 380.9 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006259/0.3424, allocations: 388.4 kB / 381.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.3424, allocations: 0 / 381.3 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3424, allocations: 3.938 kB / 381.3 MB, free: 9.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3424, allocations: 3.875 kB / 381.3 MB, free: 9.73 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.001138/0.3435, allocations: 0.6305 MB / 381.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.3436, allocations: 17.28 kB / 381.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.3437, allocations: 35.81 kB / 382 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3442, allocations: 285.7 kB / 382.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.3442, allocations: 22.27 kB / 382.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3443, allocations: 25.12 kB / 382.3 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.3449, allocations: 260.6 kB / 382.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.345, allocations: 3.938 kB / 382.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.345, allocations: 10.81 kB / 382.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.345, allocations: 8.469 kB / 382.6 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.3456, allocations: 216 kB / 382.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.3476, allocations: 0.958 MB / 383.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.3482, allocations: 303.3 kB / 384 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.3485, allocations: 106.1 kB / 384.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3485, allocations: 2.312 kB / 384.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3486, allocations: 37.06 kB / 384.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.015e-06/0.3486, allocations: 0 / 384.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001488/0.3501, allocations: 0.5564 MB / 384.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.3501, allocations: 58.41 kB / 384.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.3504, allocations: 260.8 kB / 385 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3505, allocations: 30.52 kB / 385.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3506, allocations: 184.6 kB / 385.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.3507, allocations: 69.53 kB / 385.3 MB, free: 7.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/0.3507, allocations: 47.52 kB / 385.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.3508, allocations: 334 kB / 385.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3511, allocations: 75.62 kB / 385.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.3513, allocations: 116.7 kB / 385.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.3517, allocations: 189.9 kB / 386.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3518, allocations: 0 / 386.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006834/0.3525, allocations: 321.1 kB / 386.4 MB, free: 7.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3525, allocations: 10.62 kB / 386.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3525, allocations: 1.281 kB / 386.4 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.3528, allocations: 76.72 kB / 386.5 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3531, allocations: 46.22 kB / 386.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.3553, allocations: 3.041 MB / 389.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.3556, allocations: 33.42 kB / 389.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.3556, allocations: 9.594 kB / 389.6 MB, free: 4.309 MB / 318.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.000189/0.3558, allocations: 137.6 kB / 389.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3559, allocations: 29.91 kB / 389.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.356, allocations: 31.62 kB / 389.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.356, allocations: 4.719 kB / 389.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.356, allocations: 0.7031 kB / 389.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.3561, allocations: 101.7 kB / 389.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.3561, allocations: 6.125 kB / 389.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3564, allocations: 31.25 kB / 389.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.3565, allocations: 19.44 kB / 389.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009239/0.3574, allocations: 368.7 kB / 390.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007444/0.3582, allocations: 485.1 kB / 390.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002395/0.3584, allocations: 70.56 kB / 390.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.3587, allocations: 187.1 kB / 391 MB, free: 3.387 MB / 318.1 MB Notification: Performance of Backend: time 1.783e-06/0.3587, allocations: 4 kB / 391 MB, free: 3.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.36, allocations: 456.6 kB / 391.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of SimCode: time 0.001334/0.3613, allocations: 1.004 MB / 392.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of Templates: time 0.0121/0.3734, allocations: 4.076 MB / 396.6 MB, free: 1.941 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches