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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 110.7 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 203.8 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 51.92 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2757, allocations: 49.13 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003809/0.2795, allocations: 2.977 MB / 395.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2806, allocations: 0.7244 MB / 395.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2807, allocations: 4.688 kB / 395.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2809, allocations: 58.02 kB / 395.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.2811, allocations: 101.1 kB / 396 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.2813, allocations: 93.06 kB / 396.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.2817, allocations: 418.5 kB / 396.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.2819, allocations: 84.64 kB / 396.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.2821, allocations: 152.2 kB / 396.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.2823, allocations: 162.5 kB / 396.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.2823, allocations: 31.16 kB / 396.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.2824, allocations: 32.09 kB / 396.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.2825, allocations: 70.19 kB / 397 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2826, allocations: 179.5 kB / 397.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.2831, allocations: 390.3 kB / 397.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2831, allocations: 0 / 397.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2831, allocations: 4 kB / 397.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.2831, allocations: 1.062 kB / 397.6 MB, free: 5.199 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.0009351/0.284, allocations: 0.6398 MB / 398.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2841, allocations: 13.58 kB / 398.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.874e-05/0.2841, allocations: 7.344 kB / 398.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.2842, allocations: 63.03 kB / 398.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.2842, allocations: 44.19 kB / 398.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2846, allocations: 290.1 kB / 398.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2846, allocations: 20.34 kB / 398.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.2846, allocations: 25.34 kB / 398.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2851, allocations: 263.8 kB / 398.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2851, allocations: 1.125 kB / 398.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.2852, allocations: 10.41 kB / 398.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2852, allocations: 11.5 kB / 398.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2856, allocations: 214.3 kB / 399.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.2872, allocations: 0.9606 MB / 400.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.2877, allocations: 283.8 kB / 400.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2879, allocations: 94.97 kB / 400.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2879, allocations: 6.5 kB / 400.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.288, allocations: 37.03 kB / 400.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.288, allocations: 0 / 400.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001263/0.2892, allocations: 0.5557 MB / 401.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2892, allocations: 53.59 kB / 401.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.2895, allocations: 269.7 kB / 401.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2895, allocations: 31.86 kB / 401.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.2896, allocations: 180.9 kB / 401.6 MB, free: 2.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.2897, allocations: 73.42 kB / 401.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.2898, allocations: 49.11 kB / 401.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.2898, allocations: 336.7 kB / 402 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.29, allocations: 71.69 kB / 402.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.2902, allocations: 114.5 kB / 402.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.2906, allocations: 186.1 kB / 402.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2907, allocations: 0 / 402.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006528/0.2913, allocations: 321.1 kB / 402.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2913, allocations: 6.5 kB / 402.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2913, allocations: 1.25 kB / 402.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.2916, allocations: 82.55 kB / 402.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2918, allocations: 37.77 kB / 402.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.2941, allocations: 3.05 MB / 405.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.2943, allocations: 28.64 kB / 405.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2943, allocations: 12.72 kB / 405.9 MB, free: 14.7 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.0002552/0.2946, allocations: 142.1 kB / 406.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.2947, allocations: 29.81 kB / 406.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.2947, allocations: 31.97 kB / 406.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2947, allocations: 1.594 kB / 406.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.2948, allocations: 1 kB / 406.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2948, allocations: 1.125 kB / 406.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2959, allocations: 0.682 MB / 406.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2959, allocations: 3.938 kB / 406.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.2961, allocations: 24.17 kB / 406.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.2963, allocations: 81.95 kB / 406.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2963, allocations: 6.234 kB / 406.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.299, allocations: 3.039 MB / 410 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.299, allocations: 3.938 kB / 410 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.2997, allocations: 380.7 kB / 410.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2998, allocations: 110 kB / 410.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.2998, allocations: 1.938 kB / 410.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3001, allocations: 29.95 kB / 410.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.3002, allocations: 19.89 kB / 410.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3002, allocations: 8.125 kB / 410.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.3004, allocations: 200 kB / 410.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3004, allocations: 0 / 410.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.3008, allocations: 90.67 kB / 410.8 MB, free: 10.53 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.001081/0.3019, allocations: 0.9106 MB / 411.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.3028, allocations: 447.1 kB / 412.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3028, allocations: 1.156 kB / 412.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.3033, allocations: 342.9 kB / 412.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.3037, allocations: 50.89 kB / 412.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.308, allocations: 2.703 MB / 415.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.3085, allocations: 0.7666 MB / 416 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.3087, allocations: 25.88 kB / 416 MB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.3088, allocations: 91.86 kB / 416.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3088, allocations: 3.938 kB / 416.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3416, allocations: 6.487 MB / 422.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.38, allocations: 6.5 kB / 422.6 MB, free: 3.383 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.01894438295858]