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.001821/0.001821, allocations: 102.1 kB / 21.93 MB, free: 5.203 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.002068/0.002068, allocations: 202.7 kB / 25.22 MB, free: 3.141 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.492/1.492, allocations: 207.7 MB / 236.1 MB, free: 9.77 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: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [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.00185/0.00185, allocations: 59.91 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2904, allocations: 49.15 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004117/0.2946, allocations: 2.727 MB / 400.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2958, allocations: 0.6996 MB / 401 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.2959, allocations: 9.062 kB / 401 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.2961, allocations: 56.47 kB / 401.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.2963, allocations: 107.2 kB / 401.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.2966, allocations: 88.3 kB / 401.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.297, allocations: 413.5 kB / 401.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2972, allocations: 80.91 kB / 401.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.2975, allocations: 152.3 kB / 401.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.2977, allocations: 144.6 kB / 402.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.2977, allocations: 40.12 kB / 402.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.2978, allocations: 31.5 kB / 402.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.2979, allocations: 70.73 kB / 402.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.298, allocations: 147.6 kB / 402.3 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.2985, allocations: 389.4 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2985, allocations: 0.5625 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2985, allocations: 1.281 kB / 402.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2985, allocations: 0 / 402.7 MB, free: 6.23 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.0009354/0.2995, allocations: 0.5652 MB / 403.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2995, allocations: 13.02 kB / 403.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.2996, allocations: 44.73 kB / 403.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3, allocations: 222.9 kB / 403.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3, allocations: 27.72 kB / 403.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3, allocations: 25.22 kB / 403.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.3006, allocations: 421.5 kB / 404 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3006, allocations: 0 / 404 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3006, allocations: 11.56 kB / 404 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3006, allocations: 5.562 kB / 404 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.3011, allocations: 217 kB / 404.3 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.3025, allocations: 0.8083 MB / 405.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.303, allocations: 197.8 kB / 405.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.3032, allocations: 98.05 kB / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3033, allocations: 3.281 kB / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3033, allocations: 37.72 kB / 405.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3033, allocations: 3.938 kB / 405.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001174/0.3045, allocations: 413 kB / 405.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.3045, allocations: 57.42 kB / 405.9 MB, free: 4.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3047, allocations: 243.9 kB / 406.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3047, allocations: 32.55 kB / 406.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.3048, allocations: 192.9 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.3049, allocations: 69.83 kB / 406.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.305, allocations: 46.17 kB / 406.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.305, allocations: 331.5 kB / 406.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3052, allocations: 80.33 kB / 406.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.3054, allocations: 110.4 kB / 406.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.3058, allocations: 187 kB / 407.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3058, allocations: 0.7969 kB / 407.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006836/0.3065, allocations: 315.8 kB / 407.4 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3065, allocations: 9.281 kB / 407.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3065, allocations: 2.297 kB / 407.4 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.3068, allocations: 78.16 kB / 407.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.3069, allocations: 37.8 kB / 407.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.3087, allocations: 2.789 MB / 410.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3089, allocations: 28.59 kB / 410.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.3089, allocations: 10.3 kB / 410.4 MB, free: 480 kB / 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.0001217/0.309, allocations: 138.9 kB / 410.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.3091, allocations: 24.23 kB / 410.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3091, allocations: 34.95 kB / 410.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.3091, allocations: 1.375 kB / 410.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3091, allocations: 2.75 kB / 410.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3091, allocations: 0.8438 kB / 410.6 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.3101, allocations: 0.5718 MB / 411.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3101, allocations: 5.375 kB / 411.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.3102, allocations: 26.75 kB / 411.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.3104, allocations: 82.14 kB / 411.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3104, allocations: 5.812 kB / 411.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.313, allocations: 2.779 MB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.313, allocations: 128 / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.3136, allocations: 380.5 kB / 414.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.3137, allocations: 32.69 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3137, allocations: 2.141 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.314, allocations: 38.2 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.3141, allocations: 24.91 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3141, allocations: 8.938 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3143, allocations: 173.8 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3143, allocations: 3.938 kB / 414.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004329/0.3147, allocations: 91.14 kB / 414.8 MB, free: 12.82 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.0001366/0.3149, allocations: 105.8 kB / 414.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.3157, allocations: 430.4 kB / 415.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3157, allocations: 1.031 kB / 415.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.3162, allocations: 343.5 kB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3166, allocations: 33.91 kB / 415.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.3176, allocations: 0.5145 MB / 416.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3178, allocations: 160.3 kB / 416.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.3178, allocations: 27.89 kB / 416.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3178, allocations: 0 / 416.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Templates: time 0.008984/0.3268, allocations: 5.592 MB / 422 MB, free: 8.82 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (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) [Timeout 480] 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: 7.884112842846662]