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.001258/0.001258, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001366/0.001366, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.328/1.328, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] 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="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"}) [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.002408/0.002408, allocations: 47.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2299, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.003351/0.2332, allocations: 2.74 MB / 399.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009469/0.2342, allocations: 0.6954 MB / 399.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2343, allocations: 5.594 kB / 399.8 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2345, allocations: 57.45 kB / 399.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2346, allocations: 100.8 kB / 399.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.2348, allocations: 92.25 kB / 400 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2352, allocations: 415.1 kB / 400.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2353, allocations: 76.48 kB / 400.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2355, allocations: 152.9 kB / 400.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2356, allocations: 144.2 kB / 400.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.2357, allocations: 31.56 kB / 400.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.2357, allocations: 32.84 kB / 400.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.2358, allocations: 77.05 kB / 400.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2359, allocations: 143.7 kB / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.2363, allocations: 394.3 kB / 401.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2363, allocations: 0 / 401.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2363, allocations: 0.9688 kB / 401.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.2363, allocations: 3.938 kB / 401.5 MB, free: 5.723 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.000862/0.2372, allocations: 0.5654 MB / 402 MB, free: 5.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2372, allocations: 14.2 kB / 402.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/0.2373, allocations: 61.88 kB / 402.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.2373, allocations: 45.05 kB / 402.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.2377, allocations: 219.7 kB / 402.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.2377, allocations: 23.16 kB / 402.4 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.2377, allocations: 26.03 kB / 402.4 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.2382, allocations: 422.4 kB / 402.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2383, allocations: 1.125 kB / 402.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2383, allocations: 11.19 kB / 402.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.2383, allocations: 5.656 kB / 402.8 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.2387, allocations: 213.5 kB / 403.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.2402, allocations: 0.869 MB / 403.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.2406, allocations: 200.7 kB / 404.1 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2408, allocations: 93.61 kB / 404.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2408, allocations: 2.219 kB / 404.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.872e-05/0.2408, allocations: 39.28 kB / 404.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.2408, allocations: 11.88 kB / 404.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001079/0.2419, allocations: 408.5 kB / 404.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.2419, allocations: 57.94 kB / 404.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.2421, allocations: 269.1 kB / 405 MB, free: 3.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2422, allocations: 32.27 kB / 405 MB, free: 3.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.2422, allocations: 183.5 kB / 405.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2423, allocations: 71.52 kB / 405.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.2423, allocations: 44.14 kB / 405.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.709e-05/0.2424, allocations: 336.9 kB / 405.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2426, allocations: 71.88 kB / 405.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2428, allocations: 111.3 kB / 405.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.2431, allocations: 194.9 kB / 406 MB, free: 2.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2431, allocations: 0 / 406 MB, free: 2.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005718/0.2437, allocations: 325.9 kB / 406.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2437, allocations: 5.062 kB / 406.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2437, allocations: 1.344 kB / 406.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.244, allocations: 70.56 kB / 406.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.2442, allocations: 38.33 kB / 406.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2458, allocations: 2.834 MB / 409.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.246, allocations: 24.28 kB / 409.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.246, allocations: 10.2 kB / 409.3 MB, free: 15.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.0001504/0.2461, allocations: 151 kB / 409.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.2462, allocations: 29.56 kB / 409.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.2462, allocations: 31.58 kB / 409.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2462, allocations: 6.75 kB / 409.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2462, allocations: 1.375 kB / 409.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2462, allocations: 2.734 kB / 409.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.2472, allocations: 0.6133 MB / 410.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2472, allocations: 0 / 410.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2474, allocations: 25.3 kB / 410.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.2476, allocations: 72.84 kB / 410.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2476, allocations: 2.172 kB / 410.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.2499, allocations: 2.827 MB / 413.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2499, allocations: 1.125 kB / 413.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.2505, allocations: 389.3 kB / 413.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.2506, allocations: 29.64 kB / 413.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2506, allocations: 9.938 kB / 413.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2508, allocations: 26.55 kB / 413.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.2509, allocations: 24.89 kB / 413.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.2509, allocations: 9.406 kB / 413.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.2511, allocations: 185.5 kB / 413.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2511, allocations: 0 / 413.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000356/0.2515, allocations: 98.95 kB / 413.8 MB, free: 12.02 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.0009538/0.2524, allocations: 0.9185 MB / 414.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.2531, allocations: 431.6 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2532, allocations: 0.875 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004443/0.2536, allocations: 339.3 kB / 415.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.254, allocations: 47.61 kB / 415.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.2575, allocations: 2.701 MB / 418.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2577, allocations: 157.5 kB / 418.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2578, allocations: 28.77 kB / 418.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2579, allocations: 95.34 kB / 418.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2579, allocations: 0 / 418.5 MB, free: 8.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.2979, allocations: 7.352 MB / 425.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.36, allocations: 12 kB / 425.9 MB, free: 4.512 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.64739079400897]