Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.00127/0.00127, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001518/0.001518, allocations: 213.1 kB / 23.73 MB, free: 4.41 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.553/1.553, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2714, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004646/0.2761, allocations: 2.758 MB / 434.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2777, allocations: 0.7207 MB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.2778, allocations: 11.88 kB / 435.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.278, allocations: 59.5 kB / 435.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.2782, allocations: 95.19 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.2785, allocations: 127.8 kB / 435.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.279, allocations: 414.4 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.2793, allocations: 91.31 kB / 435.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.2795, allocations: 155.4 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2797, allocations: 147.3 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.2798, allocations: 44 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.2798, allocations: 40 kB / 436.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.2799, allocations: 87.67 kB / 436.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.2801, allocations: 143.3 kB / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.2806, allocations: 456.9 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2806, allocations: 0 / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2806, allocations: 0 / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2806, allocations: 0 / 436.9 MB, free: 1.398 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00131/0.2819, allocations: 0.6092 MB / 437.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.282, allocations: 8.031 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.282, allocations: 40.7 kB / 437.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.2825, allocations: 253.8 kB / 437.8 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.2825, allocations: 20.88 kB / 437.8 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.2826, allocations: 24.38 kB / 437.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.2834, allocations: 374.4 kB / 438.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2834, allocations: 0 / 438.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.2834, allocations: 12.08 kB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2834, allocations: 7.984 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.2842, allocations: 293.7 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.2861, allocations: 0.9797 MB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.2869, allocations: 234.6 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2873, allocations: 100.8 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.2873, allocations: 4 kB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005195/0.2878, allocations: 241.2 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2878, allocations: 0 / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002317/0.2901, allocations: 0.576 MB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.2902, allocations: 106.8 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.2905, allocations: 273.8 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.2906, allocations: 33.7 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.2907, allocations: 204 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.2908, allocations: 47.67 kB / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.2909, allocations: 49.89 kB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.291, allocations: 334.8 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.2914, allocations: 130.1 kB / 441.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.2919, allocations: 293.9 kB / 442.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.2926, allocations: 307.7 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2926, allocations: 8 kB / 442.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001265/0.2938, allocations: 499.9 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.2939, allocations: 33.7 kB / 442.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2939, allocations: 8.062 kB / 442.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.2943, allocations: 88.8 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.2945, allocations: 44.12 kB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.2972, allocations: 1.86 MB / 444.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2976, allocations: 63.78 kB / 445 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.2976, allocations: 8 kB / 445 MB, free: 8.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.2978, allocations: 153.1 kB / 445.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.2979, allocations: 23.86 kB / 445.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.2979, allocations: 25.77 kB / 445.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.2979, allocations: 4 kB / 445.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2979, allocations: 0 / 445.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2979, allocations: 0 / 445.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2982, allocations: 225.1 kB / 445.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2982, allocations: 4 kB / 445.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.2983, allocations: 28.09 kB / 445.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.2986, allocations: 76.8 kB / 445.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2987, allocations: 8 kB / 445.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.3011, allocations: 1.659 MB / 447.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3011, allocations: 8.016 kB / 447.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3022, allocations: 376.5 kB / 447.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.3022, allocations: 27.84 kB / 447.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.3023, allocations: 0 / 447.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3025, allocations: 32.16 kB / 447.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.3026, allocations: 27.89 kB / 447.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3026, allocations: 8 kB / 447.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.3029, allocations: 189.2 kB / 447.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3029, allocations: 4 kB / 447.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004454/0.3033, allocations: 83.78 kB / 447.9 MB, free: 5.707 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.3035, allocations: 103.2 kB / 448 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3046, allocations: 447.6 kB / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3046, allocations: 0 / 448.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.3051, allocations: 243 kB / 448.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3054, allocations: 50.92 kB / 448.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3067, allocations: 488.3 kB / 449.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.3069, allocations: 146.9 kB / 449.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.307, allocations: 30.27 kB / 449.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.307, allocations: 19.44 kB / 449.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.307, allocations: 0 / 449.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of Templates: time 0.009511/0.3165, allocations: 4.411 MB / 453.8 MB, free: 15.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.741491459310055]