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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 113.3 kB / 17.78 MB, free: 5.234 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.001246/0.001246, allocations: 188.2 kB / 18.72 MB, free: 4.301 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.581/1.581, allocations: 207.6 MB / 227.1 MB, free: 11.49 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.001664/0.001664, allocations: 59.92 kB / 335.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2858, allocations: 49.11 MB / 384.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004367/0.2901, allocations: 2.98 MB / 387.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2913, allocations: 0.7295 MB / 388.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2914, allocations: 6.406 kB / 388.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.2916, allocations: 52.77 kB / 388.5 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.2918, allocations: 104.9 kB / 388.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.2921, allocations: 88.55 kB / 388.6 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.2925, allocations: 423.2 kB / 389.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2927, allocations: 75.41 kB / 389.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.2929, allocations: 149.6 kB / 389.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.2932, allocations: 165.5 kB / 389.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.2933, allocations: 31.47 kB / 389.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.637e-05/0.2933, allocations: 36.09 kB / 389.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.681e-05/0.2934, allocations: 71.39 kB / 389.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.2936, allocations: 175 kB / 389.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.2942, allocations: 392.2 kB / 390.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2942, allocations: 1.094 kB / 390.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2942, allocations: 3.938 kB / 390.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.2942, allocations: 0 / 390.1 MB, free: 4.273 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.001101/0.2953, allocations: 0.6364 MB / 390.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.2953, allocations: 13.02 kB / 390.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.519e-05/0.2954, allocations: 63.45 kB / 390.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.2955, allocations: 39.77 kB / 390.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.2959, allocations: 285.8 kB / 391.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2959, allocations: 23.78 kB / 391.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.296, allocations: 29.97 kB / 391.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.2965, allocations: 257.6 kB / 391.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2965, allocations: 0 / 391.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2966, allocations: 11.81 kB / 391.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2966, allocations: 6.281 kB / 391.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.2971, allocations: 222.2 kB / 391.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.2989, allocations: 0.9636 MB / 392.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.2994, allocations: 284.6 kB / 392.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2997, allocations: 95.06 kB / 393 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2997, allocations: 2.25 kB / 393 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.2997, allocations: 37.41 kB / 393.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.2997, allocations: 4 kB / 393.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001278/0.301, allocations: 0.5483 MB / 393.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.301, allocations: 62.66 kB / 393.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.3013, allocations: 260.5 kB / 393.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3013, allocations: 31.83 kB / 394 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.292e-05/0.3014, allocations: 183 kB / 394.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3014, allocations: 82.42 kB / 394.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.3015, allocations: 44.39 kB / 394.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.3016, allocations: 333.5 kB / 394.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3017, allocations: 81.7 kB / 394.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.302, allocations: 109.2 kB / 394.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.3023, allocations: 193.9 kB / 395 MB, free: 0.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3023, allocations: 0 / 395 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006245/0.3029, allocations: 321.6 kB / 395.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.303, allocations: 5.094 kB / 395.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.303, allocations: 5.312 kB / 395.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.3033, allocations: 74.11 kB / 395.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.3035, allocations: 38.25 kB / 395.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.3062, allocations: 3.043 MB / 398.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.3064, allocations: 27.17 kB / 398.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.3064, allocations: 7.75 kB / 398.5 MB, free: 13.79 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.0001943/0.3066, allocations: 145.2 kB / 398.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.3067, allocations: 34.53 kB / 398.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.3067, allocations: 26.19 kB / 398.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3067, allocations: 3.094 kB / 398.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.3067, allocations: 2.266 kB / 398.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3067, allocations: 0.9375 kB / 398.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.308, allocations: 0.687 MB / 399.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.308, allocations: 0 / 399.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3081, allocations: 24.72 kB / 399.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.3083, allocations: 78.12 kB / 399.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3083, allocations: 7.938 kB / 399.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.3112, allocations: 3.041 MB / 402.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3112, allocations: 0 / 402.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.3121, allocations: 383.8 kB / 402.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3122, allocations: 109.8 kB / 403 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3123, allocations: 6.891 kB / 403 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.3125, allocations: 29.92 kB / 403.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3126, allocations: 18.92 kB / 403.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3127, allocations: 9.875 kB / 403.1 MB, free: 9.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.3129, allocations: 186.7 kB / 403.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3129, allocations: 0 / 403.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.3134, allocations: 95.58 kB / 403.4 MB, free: 9.613 MB / 334.1 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.001241/0.3147, allocations: 0.9183 MB / 404.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.3156, allocations: 442.8 kB / 404.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3156, allocations: 1.062 kB / 404.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.3161, allocations: 350.5 kB / 405 MB, free: 8.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3165, allocations: 52.38 kB / 405.1 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.3207, allocations: 2.696 MB / 407.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3212, allocations: 0.7681 MB / 408.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3213, allocations: 25.88 kB / 408.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.3215, allocations: 90.69 kB / 408.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3215, allocations: 0 / 408.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.3674, allocations: 6.465 MB / 415.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.79, allocations: 4.969 kB / 415.1 MB, free: 2.809 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor.fmu > 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