Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002121/0.002121, allocations: 107.1 kB / 20.44 MB, free: 1.344 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: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2834, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.00433/0.2877, allocations: 2.793 MB / 434.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.289, allocations: 0.7244 MB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2892, allocations: 4 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2894, allocations: 59.44 kB / 435.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.2896, allocations: 103 kB / 435.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.2899, allocations: 107.8 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2904, allocations: 414.1 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.2906, allocations: 79.25 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.2908, allocations: 159.5 kB / 436 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.2911, allocations: 171.2 kB / 436.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.2911, allocations: 32 kB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.2912, allocations: 36 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.2913, allocations: 75.75 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2914, allocations: 143.4 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.2919, allocations: 396.9 kB / 436.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2919, allocations: 4 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2919, allocations: 0 / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2919, allocations: 0 / 436.8 MB, free: 1.441 MB / 334.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.001081/0.293, allocations: 0.5676 MB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.293, allocations: 8.031 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.2933, allocations: 48.69 kB / 437.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2937, allocations: 233.8 kB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2937, allocations: 17.03 kB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.2938, allocations: 28.38 kB / 437.7 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006661/0.2944, allocations: 420.6 kB / 438.1 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2944, allocations: 3.984 kB / 438.2 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.2945, allocations: 11.94 kB / 438.2 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2945, allocations: 8 kB / 438.2 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.295, allocations: 214.6 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2967, allocations: 0.8211 MB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.2973, allocations: 204.8 kB / 439.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.2975, allocations: 100.4 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.2976, allocations: 4 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2976, allocations: 42.5 kB / 439.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.2976, allocations: 4 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001297/0.2989, allocations: 403.2 kB / 439.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2989, allocations: 59.34 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2992, allocations: 245 kB / 440.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2993, allocations: 25.7 kB / 440.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.2994, allocations: 196.4 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.2995, allocations: 79.38 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.2996, allocations: 37.94 kB / 440.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2997, allocations: 338.8 kB / 440.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2999, allocations: 76.42 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.3002, allocations: 107.4 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.3006, allocations: 186.5 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3006, allocations: 3.938 kB / 441.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006813/0.3013, allocations: 315 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3013, allocations: 11.94 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3013, allocations: 7.969 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.3016, allocations: 73.61 kB / 441.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3018, allocations: 35.98 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.3043, allocations: 2.783 MB / 444.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3045, allocations: 27.84 kB / 444.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3045, allocations: 8 kB / 444.5 MB, free: 9.297 MB / 350.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.0001569/0.3047, allocations: 146.1 kB / 444.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.3048, allocations: 23.86 kB / 444.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.3048, allocations: 30.2 kB / 444.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3048, allocations: 4 kB / 444.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3048, allocations: 0 / 444.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3048, allocations: 0 / 444.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.3059, allocations: 0.5819 MB / 445.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3059, allocations: 4 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.306, allocations: 23.98 kB / 445.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.3062, allocations: 73.59 kB / 445.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3062, allocations: 8 kB / 445.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.3087, allocations: 2.783 MB / 448.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3087, allocations: 4 kB / 448.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006648/0.3093, allocations: 375.7 kB / 448.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3094, allocations: 23.84 kB / 448.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3094, allocations: 4 kB / 448.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3097, allocations: 39.84 kB / 448.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.3098, allocations: 19.97 kB / 448.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3098, allocations: 8 kB / 448.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3099, allocations: 172.5 kB / 448.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3099, allocations: 3.938 kB / 448.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.3104, allocations: 103.8 kB / 448.9 MB, free: 4.602 MB / 350.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.0001322/0.3105, allocations: 103.2 kB / 449 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00083/0.3113, allocations: 433.1 kB / 449.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3113, allocations: 0 / 449.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004645/0.3118, allocations: 346.5 kB / 449.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3121, allocations: 40.73 kB / 449.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.3131, allocations: 0.493 MB / 450.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.3132, allocations: 159.5 kB / 450.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.3133, allocations: 21.94 kB / 450.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.3134, allocations: 15.44 kB / 450.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3134, allocations: 0 / 450.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of Templates: time 0.008703/0.3221, allocations: 3.965 MB / 454.5 MB, free: 15 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.816181621979922]